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:
parent
f79be84c4a
commit
0b5ea752a9
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ void CDialogTemplate::SetFont(char* szFaceName, WORD wFontSize) {
|
||||||
// MS Shell Dlg
|
// MS Shell Dlg
|
||||||
m_dwStyle |= DS_SHELLFONT;
|
m_dwStyle |= DS_SHELLFONT;
|
||||||
}
|
}
|
||||||
|
m_bCharset = DEFAULT_CHARSET;
|
||||||
m_dwStyle |= DS_SETFONT;
|
m_dwStyle |= DS_SETFONT;
|
||||||
if (m_szFont) delete [] m_szFont;
|
if (m_szFont) delete [] m_szFont;
|
||||||
m_szFont = new char[strlen(szFaceName)+1];
|
m_szFont = new char[strlen(szFaceName)+1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue