diff --git a/windows/nonclient.c b/windows/nonclient.c index 5c53ba3054d..dd55f98e9a8 100644 --- a/windows/nonclient.c +++ b/windows/nonclient.c @@ -347,7 +347,7 @@ BOOL WINAPI DrawCaptionTempW (HWND hwnd, HDC hdc, const RECT *rect, HFONT hFont, else { NONCLIENTMETRICSW nclm; HFONT hNewFont; - nclm.cbSize = sizeof(NONCLIENTMETRICSA); + nclm.cbSize = sizeof(NONCLIENTMETRICSW); SystemParametersInfoW (SPI_GETNONCLIENTMETRICS, 0, &nclm, 0); hNewFont = CreateFontIndirectW ((uFlags & DC_SMALLCAP) ? &nclm.lfSmCaptionFont : &nclm.lfCaptionFont);