Commit d909f275 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

win32u: Fix typo in font handle creation in NtUserDrawCaptionTemp().

parent 4304a677
......@@ -1650,7 +1650,7 @@ BOOL WINAPI NtUserDrawCaptionTemp( HWND hwnd, HDC hdc, const RECT *rect, HFONT f
nclm.cbSize = sizeof(NONCLIENTMETRICSW);
NtUserSystemParametersInfo( SPI_GETNONCLIENTMETRICS, 0, &nclm, 0 );
lf = (flags & DC_SMALLCAP) ? &nclm.lfSmCaptionFont : &nclm.lfCaptionFont;
new_font = NtGdiHfontCreate( &lf, sizeof(lf), 0, 0, NULL );
new_font = NtGdiHfontCreate( lf, sizeof(*lf), 0, 0, NULL );
prev_font = NtGdiSelectFont( hdc, new_font );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment