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"); ---