[PATCH] DestroyWindow16
Gerard Patel
gerard.patel at nerim.net
Thu Aug 30 13:06:53 CDT 2001
As DestroyWindow does a lot of handle comparaisons, it is necessary
to give it a real 32 bit handle. This avoids a systematic crash when
ForteFreeAgent 16 bit exits. I have not looked for other places where
this can be necessary - but it would not be surprising that this happens.
ChangeLog:
* windows/win.c
Switch to a 32 bits window handle in DestroyWindow16
-------------- next part --------------
Index: windows/win.c
===================================================================
RCS file: /home/wine/wine/windows/win.c,v
retrieving revision 1.147
diff -u -r1.147 win.c
--- windows/win.c 2001/08/29 00:16:00 1.147
+++ windows/win.c 2001/08/30 14:49:14
@@ -1134,7 +1134,7 @@
*/
BOOL16 WINAPI DestroyWindow16( HWND16 hwnd )
{
- return DestroyWindow(hwnd);
+ return DestroyWindow(WIN_GetFullHandle(hwnd));
}
-------------- next part --------------
More information about the wine-patches
mailing list