summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-22 20:32:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-22 20:32:54 +0000
commit54c8105a8c651821638340c25ebf1028d92d06fb (patch)
tree1c979417ca12180737abeff6472cd45e2b04811f /plugins/Clist_mw/src/clc.cpp
parenta5f52c9e4d4eb819ede04e55899e5699269e8397 (diff)
calls of MS_CLIST_GETCONTACTICON replaced with the direct CLIST_INTERFACE calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@7831 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/clc.cpp')
-rw-r--r--plugins/Clist_mw/src/clc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Clist_mw/src/clc.cpp b/plugins/Clist_mw/src/clc.cpp
index 1743f33926..e11b858931 100644
--- a/plugins/Clist_mw/src/clc.cpp
+++ b/plugins/Clist_mw/src/clc.cpp
@@ -156,7 +156,9 @@ LRESULT CALLBACK ContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, L
else
status = cacheEntry->status;
- shouldShow = (GetWindowLongPtr(hwnd,GWL_STYLE)&CLS_SHOWHIDDEN || !cacheEntry->bIsHidden) && (!pcli->pfnIsHiddenMode(dat,status)||cacheEntry->noHiddenOffline || CallService(MS_CLIST_GETCONTACTICON,wParam,0) != LOWORD(lParam)); //this means an offline msg is flashing, so the contact should be shown
+ // this means an offline msg is flashing, so the contact should be shown
+ shouldShow = (GetWindowLongPtr(hwnd,GWL_STYLE) & CLS_SHOWHIDDEN || !cacheEntry->bIsHidden) &&
+ (!pcli->pfnIsHiddenMode(dat,status) || cacheEntry->noHiddenOffline || pcli->pfnGetContactIcon((HANDLE)wParam) != LOWORD(lParam));
ClcContact *contact;
ClcGroup *group;