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:
parent
0c691fe4f8
commit
2b53221b64
1 changed files with 0 additions and 2 deletions
|
@ -282,12 +282,10 @@ void CDialogTemplate::SetFont(char* szFaceName, WORD wFontSize) {
|
||||||
if (strcmp(szFaceName, "MS Shell Dlg")) {
|
if (strcmp(szFaceName, "MS Shell Dlg")) {
|
||||||
// not MS Shell Dlg
|
// not MS Shell Dlg
|
||||||
m_dwStyle &= ~DS_SHELLFONT;
|
m_dwStyle &= ~DS_SHELLFONT;
|
||||||
m_bExtended = false;
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// MS Shell Dlg
|
// MS Shell Dlg
|
||||||
m_dwStyle |= DS_SHELLFONT;
|
m_dwStyle |= DS_SHELLFONT;
|
||||||
m_bExtended = true;
|
|
||||||
}
|
}
|
||||||
m_dwStyle |= DS_SETFONT;
|
m_dwStyle |= DS_SETFONT;
|
||||||
if (m_szFont) delete [] m_szFont;
|
if (m_szFont) delete [] m_szFont;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue