From f24df8d7c43d0bd1e4f8036a1f9d886ccdc3680c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 9 Nov 2012 16:28:38 +0000 Subject: part II: - extra icons masks killed from the nicer+ cache; - some minor glitches in options git-svn-id: http://svn.miranda-ng.org/main/trunk@2261 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/src/clcitems.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'plugins/Clist_nicer/src/clcitems.cpp') diff --git a/plugins/Clist_nicer/src/clcitems.cpp b/plugins/Clist_nicer/src/clcitems.cpp index daa2c859f0..4d3741a06d 100644 --- a/plugins/Clist_nicer/src/clcitems.cpp +++ b/plugins/Clist_nicer/src/clcitems.cpp @@ -508,24 +508,6 @@ void ReloadSkinItemsToCache() } } -DWORD CalcXMask(HANDLE hContact) -{ - DWORD dwXMask = cfg::getDword(hContact, "CList", "CLN_xmask", 0); - DWORD dwResult = cfg::dat.dwExtraImageMask, bForced, bHidden; - - for (int i = 0; i <= 10; i++) { - bForced = (dwXMask & (1 << (2 * i))); - bHidden = (dwXMask & (1 << (2 * i + 1))); - if (bForced == 0 && bHidden == 0) - continue; - else if (bForced) - dwResult |= (1 << i); - else if (bHidden) - dwResult &= ~(1 << i); - } - return(dwResult); -} - /* * checks the currently active view mode filter and returns true, if the contact should be hidden * if no view mode is active, it returns the CList/Hidden setting -- cgit v1.2.3