Pass correct uiParam for SPI_GETNONCLIENTMETRICS.

This commit is contained in:
Ge van Geldorp 2004-10-19 21:09:42 +00:00 committed by Alexandre Julliard
parent af927f5043
commit 109f41aadc

View File

@ -192,7 +192,7 @@ TOOLTIPS_InitSystemSettings (TOOLTIPS_INFO *infoPtr)
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);