Skip to content

Commit

Permalink
upd Hood Brawl
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypp committed Apr 13, 2022
1 parent 189d604 commit 9d44c12
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/controls.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,14 +682,18 @@ HFONT _app_createfont (
_In_ LONG dpi_value
)
{
HFONT hfont;

if (size)
logfont->lfHeight = _r_dc_fontsizetoheight (size, dpi_value);

logfont->lfUnderline = is_underline;
logfont->lfCharSet = DEFAULT_CHARSET;
logfont->lfQuality = DEFAULT_QUALITY;

return CreateFontIndirect (logfont);
hfont = CreateFontIndirect (logfont);

return hfont;
}

VOID _app_windowloadfont (
Expand Down

0 comments on commit 9d44c12

Please sign in to comment.