[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [1/2] Handle hwnd and tbi when passing NULL
From:       Nikolay Sivov <bunglehead () gmail ! com>
Date:       2009-06-28 21:28:00
Message-ID: 4A47E060.8050704 () gmail ! com
[Download RAW message or body]

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






[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic