From 2855489924925d997503fd525f0659f48dc676c4 Mon Sep 17 00:00:00 2001 From: MikalaiR <nikolay.romanovich@narod.ru> Date: Sat, 16 Apr 2016 13:16:39 +0000 Subject: clist_modern: copy-paste bug git-svn-id: http://svn.miranda-ng.org/main/trunk@16677 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_contact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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: -- cgit v1.2.3