Patch 2/2 for SmartForms Installer: GetModuleFileNameW called by 16-bit task.

Joshua Thielen thielen at netprince.net
Sat Jun 22 06:06:19 CDT 2002


Dmitry Timoshkov wrote:

>"Joshua Thielen" <thielen at netprince.net> wrote:
>
>>-    if ((wm = MODULE32_LookupHMODULE( hModule )))
>>+    if(!hModule && !(NtCurrentTeb()->tibflags &= TEBF_WIN32)) {
>>
>                                                 ^^
>Apparently '&=' above must be replaced by simple '&'
>
Yes, definitely! Thanks for spotting this potentially nasty bug. I'm 
sorry about that -  I copied and pasted without thinking :(

Josh





More information about the wine-devel mailing list