dlls/comctl32/tooltips.c

Ge van Geldorp gvg at reactos.com
Tue Oct 19 03:47:05 CDT 2004


Changelog:
  Ge van Geldorp <gvg at reactos.com>
  - Pass correct uiParam for SPI_GETNONCLIENTMETRICS

Index: dlls/comctl32/tooltips.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tooltips.c,v
retrieving revision 1.72
diff -u -r1.72 tooltips.c
--- dlls/comctl32/tooltips.c	17 Sep 2004 18:10:13 -0000	1.72
+++ dlls/comctl32/tooltips.c	19 Oct 2004 08:44:10 -0000
@@ -192,7 +192,7 @@
 
     DeleteObject (infoPtr->hFont);
     nclm.cbSize = sizeof(nclm);
-    SystemParametersInfoW (SPI_GETNONCLIENTMETRICS, 0, &nclm, 0);
+    SystemParametersInfoW (SPI_GETNONCLIENTMETRICS, sizeof(nclm), &nclm, 0);
     infoPtr->hFont = CreateFontIndirectW (&nclm.lfStatusFont);
 
     DeleteObject (infoPtr->hTitleFont);



More information about the wine-patches mailing list