From 71bdb2f1b65f1649dcd707eaf32d590eb253495c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Apr 2018 19:34:12 +0300 Subject: CLIST_INTERFACE::pfnGetFontSetting => Clist_GetFontSetting --- src/core/stdclist/src/clcfonts.cpp | 4 ++-- src/core/stdclist/src/clcopts.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/stdclist/src/clcfonts.cpp b/src/core/stdclist/src/clcfonts.cpp index d00c89df0a..c8f06365f1 100644 --- a/src/core/stdclist/src/clcfonts.cpp +++ b/src/core/stdclist/src/clcfonts.cpp @@ -59,7 +59,7 @@ void RegisterCListFonts() HDC hdc = GetDC(nullptr); for (int i = 0; i < _countof(clistFontDescr); i++) { LOGFONT lf; - pcli->pfnGetFontSetting(i, &lf, &fontid.deffontsettings.colour); + Clist_GetFontSetting(i, &lf, &fontid.deffontsettings.colour); lf.lfHeight = -MulDiv(lf.lfHeight, GetDeviceCaps(hdc, LOGPIXELSY), 72); wcsncpy_s(fontid.deffontsettings.szFace, lf.lfFaceName, _TRUNCATE); @@ -121,7 +121,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/src/core/stdclist/src/clcopts.cpp b/src/core/stdclist/src/clcopts.cpp index 932e546e52..453a2b6267 100644 --- a/src/core/stdclist/src/clcopts.cpp +++ b/src/core/stdclist/src/clcopts.cpp @@ -124,7 +124,7 @@ static LONG CalcMinRowHeight() for (int i = 0; i < FONTID_LAST; i++) { LOGFONT lf; COLORREF color; - pcli->pfnGetFontSetting(i, &lf, &color); + Clist_GetFontSetting(i, &lf, &color); lf.lfHeight = -MulDiv(lf.lfHeight, GetDeviceCaps(hdc, LOGPIXELSY), 72); HFONT hFont = CreateFontIndirect(&lf); hFont = (HFONT)SelectObject(hdc, hFont); -- cgit v1.2.3