summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-04-16 13:16:39 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-04-16 13:16:39 +0000
commit2855489924925d997503fd525f0659f48dc676c4 (patch)
treeae6a4e04b8e453fd01caac1b4f579d41a265c178 /plugins/Clist_modern
parent2f42be9b6f7477aa873a8898d765e2ce0d264790 (diff)
clist_modern: copy-paste bug
git-svn-id: http://svn.miranda-ng.org/main/trunk@16677 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-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 297b366c1e..c94c0d5ab4 100644
--- a/plugins/Clist_modern/src/modern_contact.cpp
+++ b/plugins/Clist_modern/src/modern_contact.cpp
@@ -137,7 +137,7 @@ int cliCompareContacts(const ClcContact *contact1, const ClcContact *contact2)
break;
case SORTBY_LASTMSG: // last message
- r = (int)CompareContacts2_getLMTime(contact1->hContact) - (int)CompareContacts2_getLMTime(contact1->hContact);
+ r = (int)CompareContacts2_getLMTime(contact2->hContact) - (int)CompareContacts2_getLMTime(contact1->hContact);
break;
case SORTBY_PROTO: