summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinbutton.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-22 14:21:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-22 14:21:20 +0000
commitf8e34b5f83f3ce5f39d541e9068b6b8cb6d92acd (patch)
tree0efec50fdc94ea75743a732299ae4a3304594557 /plugins/Clist_modern/src/modern_skinbutton.cpp
parentbd5d777d5d7de22817b7bd868e3b3281d6fdcb49 (diff)
right replacement for mir_stricmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13757 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinbutton.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_skinbutton.cpp b/plugins/Clist_modern/src/modern_skinbutton.cpp
index ddc8e834e0..c2908ede3a 100644
--- a/plugins/Clist_modern/src/modern_skinbutton.cpp
+++ b/plugins/Clist_modern/src/modern_skinbutton.cpp
@@ -232,7 +232,7 @@ static int ModernSkinButtonToggleDBValue(char * ValueDBSection, char *ValueTypeD
switch (ValueTypeDef[0]) {
case 's':
Value = db_get_sa(NULL, section, key);
- if (!Value || (Value && mir_strcmpi(Value, val2)))
+ if (!Value || (Value && !mir_strcmpi(Value, val2)))
Value = mir_strdup(val);
else
Value = mir_strdup(val2);