summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_contact.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-18 13:12:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-18 13:12:40 +0000
commite6615c0f1818ef8f93994d8add1d194060f52612 (patch)
tree98427129990b285523f5fad1f52aabe377231f70 /plugins/Clist_modern/src/modern_contact.cpp
parentf09b5b9829a612c28496040085868b588d7ab6e1 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16712 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_contact.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_contact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_contact.cpp b/plugins/Clist_modern/src/modern_contact.cpp
index c94c0d5ab4..e4ef1ff3c9 100644
--- a/plugins/Clist_modern/src/modern_contact.cpp
+++ b/plugins/Clist_modern/src/modern_contact.cpp
@@ -141,7 +141,7 @@ int cliCompareContacts(const ClcContact *contact1, const ClcContact *contact2)
break;
case SORTBY_PROTO:
- if (contact1->proto == NULL || contact1->proto == NULL)
+ if (contact1->proto == NULL || contact2->proto == NULL)
continue;
r = GetProtoIndex(contact1->proto) - GetProtoIndex(contact2->proto);
break;