From d89dd2fe88191ce9b8ff0f68b93b45d00cff64b4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Jun 2012 13:00:12 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Mwclist/clc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Mwclist/clc.cpp') 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; -- cgit v1.2.3