[PATCH] WM_DRAWITEM for font dialog
Gerard Patel
gerard.patel at nerim.net
Sun Nov 11 16:21:22 CST 2001
Removes a leftover of 16 bits code.
ChangeLog:
* dlls/commdlg/fontdlg.c
makes -1 = 0xffffffff for itemid in WM_DRAMITEM handling
-------------- next part --------------
Index: dlls/commdlg/fontdlg.c
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/fontdlg.c,v
retrieving revision 1.34
diff -u -r1.34 fontdlg.c
--- dlls/commdlg/fontdlg.c 2001/07/02 19:59:41 1.34
+++ dlls/commdlg/fontdlg.c 2001/11/11 19:47:29
@@ -851,7 +851,7 @@
#endif
LPDRAWITEMSTRUCT lpdi = (LPDRAWITEMSTRUCT)lParam;
- if (lpdi->itemID == 0xFFFF) /* got no items */
+ if (lpdi->itemID == 0xFFFFFFFF) /* got no items */
DrawFocusRect(lpdi->hDC, &lpdi->rcItem);
else
{
-------------- next part --------------
More information about the wine-patches
mailing list