mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Pass correct uiParam for SPI_GETNONCLIENTMETRICS.
This commit is contained in:
parent
af927f5043
commit
109f41aadc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user