summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-05-31 13:45:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-05-31 13:45:31 +0300
commitf579bfbf7305c451dce314804d738685389c30d4 (patch)
tree6572322fb20c7f8a5a58e6cad966ad3acaf830cc
parent275cbda0f6ff97e9c7583f76e2375d1fe0ad42bc (diff)
shitty reversed logic...
-rw-r--r--plugins/SmileyAdd/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp
index 6a31209c0f..2781a60508 100644
--- a/plugins/SmileyAdd/src/options.cpp
+++ b/plugins/SmileyAdd/src/options.cpp
@@ -304,7 +304,7 @@ public:
bool OnInitDialog() override
{
- chkStdPack.SetState(opt.UseOneForAll);
+ chkStdPack.SetState(!opt.UseOneForAll);
chkUsePhys.SetState(opt.UsePhysProto);
chkUsePhys.Enable(!opt.UseOneForAll);
@@ -369,7 +369,7 @@ public:
ProcessAllInputAreas(true);
CloseSmileys();
- opt.UseOneForAll = chkStdPack.GetState();
+ opt.UseOneForAll = !chkStdPack.GetState();
opt.UsePhysProto = chkUsePhys.GetState();
opt.EnforceSpaces = IsDlgButtonChecked(m_hwnd, IDC_SPACES) == BST_CHECKED;