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

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


Signed-off-by: default avatarNikolay Sivov <nsivov@codeweavers.com>
parent 4304a677
Pipeline #841 passed with stage
in 3 minutes and 25 seconds
......@@ -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 );
}
......
Supports Markdown
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