diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-13 13:00:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-13 13:00:12 +0000 |
commit | d89dd2fe88191ce9b8ff0f68b93b45d00cff64b4 (patch) | |
tree | b8541b46c88ec3c2902fa99e047cee717cdcaf73 /plugins/Mwclist/clc.cpp | |
parent | de5eb083cd53451b14991b6c61474bad3b9a5249 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Mwclist/clc.cpp')
-rw-r--r-- | plugins/Mwclist/clc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Mwclist/clc.cpp b/plugins/Mwclist/clc.cpp index d43edd855d..4975eda998 100644 --- a/plugins/Mwclist/clc.cpp +++ b/plugins/Mwclist/clc.cpp @@ -177,7 +177,7 @@ LRESULT CALLBACK ContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, L else {
//item in list already
DWORD style = GetWindowLongPtr(hwnd,GWL_STYLE);
- if (contact->iImage == (WORD)lParam) break;
+ if (contact->iImage == (WORD)lParam) break;
if (sortByStatus) dat->NeedResort = 1;
if (!shouldShow && !(style&CLS_NOHIDEOFFLINE) && (style&CLS_HIDEOFFLINE || group->hideOffline)) {
@@ -191,7 +191,7 @@ LRESULT CALLBACK ContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, L int oldflags;
contact->iImage = (WORD)lParam;
oldflags = contact->flags;
- if (!pcli->pfnIsHiddenMode(dat,status)||cacheEntry->noHiddenOffline) contact->flags|=CONTACTF_ONLINE;
+ if (!pcli->pfnIsHiddenMode(dat,status)||cacheEntry->noHiddenOffline) contact->flags |= CONTACTF_ONLINE;
else contact->flags &= ~CONTACTF_ONLINE;
if (oldflags != contact->flags)
dat->NeedResort = 1;
|