gdi32/tests/bitmap: Fix win9x detection

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sat Aug 16 06:23:02 CDT 2008


In commit 48bb687dfb00b00f789b688459ad5d0ec77a617b, win9x detection was
changed to use the desktop window instead of a private EDIT window as
target for GetWindowLongW. GetWindowLongW(GetDesktopWindow(),GWLP_WNDPROC)
fails on wine (and probably on WinNT as well, as the counts on
test.winehq.org indicate).

I am unsure about this patch, as I don't know whether is_win9x now
gets true if one has a Windows 98 system with the Microsoft Layer
for Unicode installed.
---
 dlls/gdi32/tests/bitmap.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a698a6909ecd7931b68dc4a4e19c160034b4cf9f.diff
Type: text/x-patch
Size: 708 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080816/1165da36/attachment.bin 


More information about the wine-patches mailing list