Fix initialization of _monospacedFontFinfDlg parameter
This commit is contained in:
parent
e5d83dbc00
commit
8e78307951
@ -5077,8 +5077,8 @@ void NppParameters::feedGUIParameters(TiXmlNode *node)
|
|||||||
_nppGUI._backSlashIsEscapeCharacterForSql = false;
|
_nppGUI._backSlashIsEscapeCharacterForSql = false;
|
||||||
|
|
||||||
const TCHAR * optNameMonoFont = element->Attribute(TEXT("monospacedFontFinfDlg"));
|
const TCHAR * optNameMonoFont = element->Attribute(TEXT("monospacedFontFinfDlg"));
|
||||||
if (optNameMonoFont && !lstrcmp(optNameMonoFont, TEXT("no")))
|
if (optNameMonoFont)
|
||||||
_nppGUI._monospacedFontFinfDlg = false;
|
_nppGUI._monospacedFontFinfDlg = (lstrcmp(optNameMonoFont, TEXT("yes")) == 0);
|
||||||
|
|
||||||
const TCHAR * optNameNewStyleSaveDlg = element->Attribute(TEXT("newStyleSaveDlg"));
|
const TCHAR * optNameNewStyleSaveDlg = element->Attribute(TEXT("newStyleSaveDlg"));
|
||||||
if (optNameNewStyleSaveDlg)
|
if (optNameNewStyleSaveDlg)
|
||||||
|
Loading…
Reference in New Issue
Block a user