From 1934d2cfc40bd9ef88c83decb970bbccc4914a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 18 Jul 2022 02:34:16 +0200 Subject: Fix typo. --- c/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/main.cpp') diff --git a/c/main.cpp b/c/main.cpp index 68fe4b3..24fc19f 100644 --- a/c/main.cpp +++ b/c/main.cpp @@ -21,7 +21,7 @@ int g_iDPI = 96; /* Fonts. */ HFONT g_hfNormal; -HFONT g_fBold; +HFONT g_hfBold; /* Menus. */ HMENU g_hPopupMenu; @@ -171,7 +171,7 @@ static LRESULT CALLBACK CBTProc(const int nCode, const WPARAM wParam, const LPAR g_hfNormal = static_cast(GetStockObject(DEFAULT_GUI_FONT)); GetObject(g_hfNormal, sizeof(LOGFONT), &lf); lf.lfWeight = FW_BOLD; - g_fBold = CreateFontIndirect(&lf); + g_hfBold = CreateFontIndirect(&lf); /* Get DPI. */ -- cgit v1.2.3