[1/2] Handle hwnd and tbi when passing NULL
Nikolay Sivov
bunglehead at gmail.com
Sun Jun 28 16:28:00 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
>
---
TRACE("(%p %p)\n", hwnd, tbi);
....
+ TRACE("tbi is NULL.\n");
---
That's a duplication you don't really need.
This one isn't very useful too:
---
+ TRACE("Invalid hwnd.\n");
---
More information about the wine-devel
mailing list