summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-10 19:57:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-10 19:57:46 +0300
commitaeb730d93c2a3a68fc0644b905198f30e45d150a (patch)
treead5ed6d4b1253fc8c5df8e3278859af57b4560b6 /plugins/StopSpamPlus/src
parent2b716f5b831d86169c3c08585a8d79556a11fed3 (diff)
fixes #3099 (StopSpam: убрать инверсную логику)
Diffstat (limited to 'plugins/StopSpamPlus/src')
-rw-r--r--plugins/StopSpamPlus/src/options.cpp4
-rw-r--r--plugins/StopSpamPlus/src/resource.h4
-rw-r--r--plugins/StopSpamPlus/src/version.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/StopSpamPlus/src/options.cpp b/plugins/StopSpamPlus/src/options.cpp
index e2d18e72df..f4187a47c2 100644
--- a/plugins/StopSpamPlus/src/options.cpp
+++ b/plugins/StopSpamPlus/src/options.cpp
@@ -132,7 +132,7 @@ public:
item.lParam = (LPARAM)pa->szModuleName;
item.pszText = pa->tszAccountName;
int idx = m_accounts.InsertItem(&item);
- m_accounts.SetCheckState(idx, g_sets.ProtoDisabled(pa->szModuleName));
+ m_accounts.SetCheckState(idx, !g_sets.ProtoDisabled(pa->szModuleName));
}
return true;
}
@@ -149,7 +149,7 @@ public:
if (!m_accounts.GetItem(&item))
continue;
- if (m_accounts.GetCheckState(i) != 0)
+ if (m_accounts.GetCheckState(i) == 0)
out << (char*)item.lParam << " ";
}
diff --git a/plugins/StopSpamPlus/src/resource.h b/plugins/StopSpamPlus/src/resource.h
index 5a61c2abcd..9eecb574c0 100644
--- a/plugins/StopSpamPlus/src/resource.h
+++ b/plugins/StopSpamPlus/src/resource.h
@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by C:\Users\xx\Documents\Visual Studio 2010\Projects\myranda\plugins\StopSpamPlus\res\stopspam.rc
+// Used by C:\Users\georg\DiskW\miranda-ng\plugins\StopSpamPlus\res\stopspam.rc
//
#define IDD_MESSAGES 101
#define IDD_MAIN 102
@@ -26,7 +26,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 104
+#define _APS_NEXT_RESOURCE_VALUE 105
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1018
#define _APS_NEXT_SYMED_VALUE 101
diff --git a/plugins/StopSpamPlus/src/version.h b/plugins/StopSpamPlus/src/version.h
index 3ce9c45789..e18ef9e986 100644
--- a/plugins/StopSpamPlus/src/version.h
+++ b/plugins/StopSpamPlus/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 1
#define __RELEASE_NUM 0
-#define __BUILD_NUM 2
+#define __BUILD_NUM 3
#include <stdver.h>