[PATCH] Win_GetWindowLong
Gerard Patel
gerard.patel at nerim.net
Sat Nov 17 09:23:38 CST 2001
ChangeLog:
* window/win.c
Fix exchanged lines in WIN_GetWindowLong
-------------- next part --------------
Index: windows/win.c
===================================================================
RCS file: /home/wine/wine/windows/win.c,v
retrieving revision 1.169
diff -u -r1.169 win.c
--- windows/win.c 2001/11/14 21:28:37 1.169
+++ windows/win.c 2001/11/17 12:40:39
@@ -1852,10 +1852,10 @@
return 0;
}
/* Special case for dialog window procedure */
+
+ retvalue = *(LONG *)(((char *)wndPtr->wExtra) + offset);
if ((offset == DWL_DLGPROC) && (wndPtr->flags & WIN_ISDIALOG))
retvalue = (LONG)WINPROC_GetProc( (HWINDOWPROC)retvalue, type );
- else
- retvalue = *(LONG *)(((char *)wndPtr->wExtra) + offset);
WIN_ReleasePtr( wndPtr );
return retvalue;
}
-------------- next part --------------
More information about the wine-patches
mailing list