diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-22 11:28:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-22 11:28:05 +0000 |
commit | dc7a8b1f54463500d2c13339829db6c665f097da (patch) | |
tree | f93e3f2cbc72687e69bfd18945751a1f08743353 /plugins/Clist_modern/src/modern_contact.cpp | |
parent | 5212643f256d5cf75b295aeb42783c81ce033519 (diff) |
- major atavism removed: clist_modern own cache;
- cache items are never deleted;
- MS_CLIST_INVALIDATEDISPLAYNAME service removed and replaced with pcli->pfnInvalidateDisplayNameCacheEntry() call
git-svn-id: http://svn.miranda-ng.org/main/trunk@16744 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_contact.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_contact.cpp | 4 |
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 3b17c800fb..3260689079 100644 --- a/plugins/Clist_modern/src/modern_contact.cpp +++ b/plugins/Clist_modern/src/modern_contact.cpp @@ -96,8 +96,8 @@ int cliCompareContacts(const ClcContact *contact1, const ClcContact *contact2) if ((INT_PTR)contact1 < 100 || (INT_PTR)contact2 < 100)
return 0;
- ClcCacheEntry *c1 = cliGetCacheEntry(contact1->hContact);
- ClcCacheEntry *c2 = cliGetCacheEntry(contact2->hContact);
+ ClcCacheEntry *c1 = pcli->pfnGetCacheEntry(contact1->hContact);
+ ClcCacheEntry *c2 = pcli->pfnGetCacheEntry(contact2->hContact);
for (int i = 0; i < _countof(g_CluiData.bSortByOrder); i++) {
BYTE &by = g_CluiData.bSortByOrder[i];
|