summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_nicer/src/clcutils.cpp2
-rw-r--r--plugins/Clist_nicer/src/clui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/clcutils.cpp b/plugins/Clist_nicer/src/clcutils.cpp
index 75f1c29c57..5822512dbe 100644
--- a/plugins/Clist_nicer/src/clcutils.cpp
+++ b/plugins/Clist_nicer/src/clcutils.cpp
@@ -567,7 +567,7 @@ void LoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst)
DeleteObject(dat->fontInfo[i].hFont);
LOGFONT lf;
- pcli->pfnGetFontSetting(i, &lf, &dat->fontInfo[i].colour);
+ Clist_GetFontSetting(i, &lf, &dat->fontInfo[i].colour);
lf.lfHeight = -MulDiv(lf.lfHeight, GetDeviceCaps(hdc, LOGPIXELSY), 72);
dat->fontInfo[i].hFont = CreateFontIndirect(&lf);
diff --git a/plugins/Clist_nicer/src/clui.cpp b/plugins/Clist_nicer/src/clui.cpp
index a718231025..a0663c1270 100644
--- a/plugins/Clist_nicer/src/clui.cpp
+++ b/plugins/Clist_nicer/src/clui.cpp
@@ -1885,7 +1885,7 @@ void FS_RegisterFonts()
HDC hdc = GetDC(nullptr);
for (int i = 0; i < _countof(clistFontDescr); i++) {
LOGFONT lf;
- pcli->pfnGetFontSetting(i, &lf, &fid.deffontsettings.colour);
+ Clist_GetFontSetting(i, &lf, &fid.deffontsettings.colour);
lf.lfHeight = -MulDiv(lf.lfHeight, GetDeviceCaps(hdc, LOGPIXELSY), 72);
wcsncpy_s(fid.deffontsettings.szFace, lf.lfFaceName, _TRUNCATE);