mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 11:24:09 +00:00
win32u: Fix typo in font handle creation in NtUserDrawCaptionTemp().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
4304a677c1
commit
d909f27590
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue