diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-26 11:01:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-26 11:01:47 +0000 |
commit | f1f98fe541c790141fec87b943af535a943c7100 (patch) | |
tree | 7f86c2045262dca0f41b495bf6748f0b122667f5 /plugins/Clist_modern/src/modern_contact.cpp | |
parent | 5f5270854027fbafc77086cdfad554a9fee2faa2 (diff) |
- duplicated code removed from cliFindItem;
- FindItem function removed completely;
- CLIST_INTERFACE::pfnFindItem now only compare one item;
- static function Clist_FindItem now serves as pcli->pfnFindItem
git-svn-id: http://svn.miranda-ng.org/main/trunk@17335 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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_contact.cpp b/plugins/Clist_modern/src/modern_contact.cpp index 47ffcfc574..4cc7b523c6 100644 --- a/plugins/Clist_modern/src/modern_contact.cpp +++ b/plugins/Clist_modern/src/modern_contact.cpp @@ -90,9 +90,6 @@ int GetProtoIndex(char * szName) int cliCompareContacts(const ClcContact *contact1, const ClcContact *contact2)
{
- if ((INT_PTR)contact1 < 100 || (INT_PTR)contact2 < 100)
- return 0;
-
ClcCacheEntry *c1 = contact1->pce, *c2 = contact2->pce;
for (int i = 0; i < _countof(g_CluiData.bSortByOrder); i++) {
|