Skip to content
Snippets Groups Projects
Commit 109f41aa authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard
Browse files

Pass correct uiParam for SPI_GETNONCLIENTMETRICS.

parent af927f50
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment