[1/1] Handle hwnd and tbi when passing NULL
Nikolay Sivov
bunglehead at gmail.com
Sun Jun 28 12:53:21 CDT 2009
Kovács András wrote:
> Hi,
>
> This patch is for GetTitleBarInfo, when it gets NULL hwnd and/or pti
> parameter.
> GTA IV tries to use this function with NULL, NULL parameters.
> This doesn't hurt Windows, but crashes in wine.
> Tested against Windows 7.
>
> Best Regards,
>
> Andras Kovacs
>
I think IsWindow() will be enough here. Also add tests for that please.
More information about the wine-devel
mailing list