diff --git a/Source/DialogTemplate.cpp b/Source/DialogTemplate.cpp index f6811231..0ece79d3 100644 --- a/Source/DialogTemplate.cpp +++ b/Source/DialogTemplate.cpp @@ -292,7 +292,7 @@ void CDialogTemplate::SetFont(char* szFaceName, WORD wFontSize) { m_bCharset = DEFAULT_CHARSET; m_dwStyle |= DS_SETFONT; if (m_szFont) delete [] m_szFont; - m_szFont = winchar_fromansi(szFaceName); + m_szFont = winchar_fromansi(szFaceName, m_uCodePage); m_sFontSize = wFontSize; }