aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-18 02:34:16 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-18 02:34:16 +0200
commit1934d2cfc40bd9ef88c83decb970bbccc4914a15 (patch)
treee314feebd22bb1ee911bb9f4deedd3f76f15d7de /c
parentbae51a17cc742e74172a3b9ae7c96730a7c558e8 (diff)
downloadEpisodeBrowser-1934d2cfc40bd9ef88c83decb970bbccc4914a15.tar.gz
Fix typo.
Diffstat (limited to 'c')
-rw-r--r--c/episodelistview.cpp4
-rw-r--r--c/main.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp
index a24c831..d3abf74 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -95,9 +95,9 @@ LRESULT EpisodeListView::HandleNotify(const LPARAM lParam)
break;
case CDDS_ITEMPREPAINT:
{
- extern HFONT g_fBold;
+ extern HFONT g_hfBold;
if (!Pl("track_episodes","watched",pLvCd->nmcd.lItemlParam)) {
- SelectObject(pLvCd->nmcd.hdc, g_fBold);
+ SelectObject(pLvCd->nmcd.hdc, g_hfBold);
return CDRF_NEWFONT;
}
break;
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<HFONT>(GetStockObject(DEFAULT_GUI_FONT));
GetObject(g_hfNormal, sizeof(LOGFONT), &lf);
lf.lfWeight = FW_BOLD;
- g_fBold = CreateFontIndirect(&lf);
+ g_hfBold = CreateFontIndirect(&lf);
/* Get DPI. */