summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-09-21 18:33:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-09-21 18:33:31 +0300
commit297d42cdb650f70a190d0760c7f073da914e5982 (patch)
treeefd1e068ae5f79daad1e8b4307b215895ef91fa6
parent8e3dabf7d451f12ba421ec934a9603d035027736 (diff)
fixes #2573 (Autoexec system cannot import settings with slashes)
-rw-r--r--src/mir_app/res/resource.rc2
-rw-r--r--src/mir_app/src/db_ini.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/res/resource.rc b/src/mir_app/res/resource.rc
index ca1294b5ca..abf6aa3657 100644
--- a/src/mir_app/res/resource.rc
+++ b/src/mir_app/res/resource.rc
@@ -199,7 +199,7 @@ BEGIN
LTEXT "Do you want to allow this change?",IDC_STATIC,5,71,177,8
CONTROL "&Allow all further changes to this section",IDC_WARNNOMORE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,80,169,10
- DEFPUSHBUTTON "&Yes",IDYES,5,94,50,14
+ DEFPUSHBUTTON "&Yes",IDOK,5,94,50,14
PUSHBUTTON "&No",IDNO,59,94,50,14
PUSHBUTTON "Cancel import",IDCANCEL,123,94,59,14
END
diff --git a/src/mir_app/src/db_ini.cpp b/src/mir_app/src/db_ini.cpp
index f7122100e0..d78854af2c 100644
--- a/src/mir_app/src/db_ini.cpp
+++ b/src/mir_app/src/db_ini.cpp
@@ -168,7 +168,7 @@ protected:
public:
CWarnIniChangeDlg(warnSettingChangeInfo_t *warnInfo) :
CDlgBase(g_plugin, IDD_WARNINICHANGE),
- m_yes(this, IDYES), m_no(this, IDNO),
+ m_yes(this, IDOK), m_no(this, IDNO),
m_noWarn(this, IDC_WARNNOMORE),
m_iniName(this, IDC_ININAME), m_settingName(this, IDC_SETTINGNAME),
m_newValue(this, IDC_NEWVALUE), m_securityInfo(this, IDC_SECURITYINFO)