summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_contact.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-23 20:05:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-23 20:05:16 +0000
commit77ece3939612fb0133d20815883e4ed50a10230e (patch)
tree39ebd782bf53759e42c97b616559e88932d8137d /plugins/Clist_modern/src/modern_contact.cpp
parentbddc04b139e8dfb3ecfb37af1fbf32965b15c577 (diff)
fixes bug #188 completely
git-svn-id: http://svn.miranda-ng.org/main/trunk@7842 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_contact.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_contact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_contact.cpp b/plugins/Clist_modern/src/modern_contact.cpp
index eccb4e0bab..b1e297d58b 100644
--- a/plugins/Clist_modern/src/modern_contact.cpp
+++ b/plugins/Clist_modern/src/modern_contact.cpp
@@ -86,7 +86,7 @@ int GetProtoIndex(char * szName)
ProtoEnumAccounts( &accCount, &accs );
for (int i=0; i < accCount; i++)
- if ( !mir_strcmpi(szName, accs[i]->szModuleName))
+ if (!mir_strcmpi(szName, accs[i]->szModuleName))
return accs[i]->iOrder;
}
@@ -187,7 +187,7 @@ INT_PTR SetUseGroups(WPARAM wParam, LPARAM lParam)
int newVal = !(GetWindowLongPtr(pcli->hwndContactTree,GWL_STYLE)&CLS_USEGROUPS);
if ( wParam != -1 )
{
- if ( !newVal == wParam ) return 0;
+ if (!newVal == wParam ) return 0;
newVal = wParam;
}
db_set_b(NULL,"CList","UseGroups",(BYTE)newVal);