use DEFAULT_CHARSET for dialog fonts by default

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4023 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-05-11 17:20:32 +00:00
parent f79be84c4a
commit 0b5ea752a9

View file

@ -297,6 +297,7 @@ void CDialogTemplate::SetFont(char* szFaceName, WORD wFontSize) {
// MS Shell Dlg
m_dwStyle |= DS_SHELLFONT;
}
m_bCharset = DEFAULT_CHARSET;
m_dwStyle |= DS_SETFONT;
if (m_szFont) delete [] m_szFont;
m_szFont = new char[strlen(szFaceName)+1];