fixed bug #1159700 - SetFont doesn't work well with RTL on Windows 9x

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3919 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-03-10 18:53:34 +00:00
parent 0c691fe4f8
commit 2b53221b64

View file

@ -282,12 +282,10 @@ void CDialogTemplate::SetFont(char* szFaceName, WORD wFontSize) {
if (strcmp(szFaceName, "MS Shell Dlg")) {
// not MS Shell Dlg
m_dwStyle &= ~DS_SHELLFONT;
m_bExtended = false;
}
else {
// MS Shell Dlg
m_dwStyle |= DS_SHELLFONT;
m_bExtended = true;
}
m_dwStyle |= DS_SETFONT;
if (m_szFont) delete [] m_szFont;