summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clistmenus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-09 16:28:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-09 16:28:38 +0000
commitf24df8d7c43d0bd1e4f8036a1f9d886ccdc3680c (patch)
tree5c64d24932839487d9e836491f9ca32ab7bd2ddc /plugins/Clist_nicer/src/clistmenus.cpp
parentddd6c8f83ee10e7312458985c4ff624e68abf75b (diff)
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
Diffstat (limited to 'plugins/Clist_nicer/src/clistmenus.cpp')
-rw-r--r--plugins/Clist_nicer/src/clistmenus.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Clist_nicer/src/clistmenus.cpp b/plugins/Clist_nicer/src/clistmenus.cpp
index 2078fcc6ed..9dd464115a 100644
--- a/plugins/Clist_nicer/src/clistmenus.cpp
+++ b/plugins/Clist_nicer/src/clistmenus.cpp
@@ -278,17 +278,13 @@ static INT_PTR CALLBACK IgnoreDialogProc(HWND hWnd, UINT msg, WPARAM wParam, LPA
}
cfg::writeDword(hContact, "CList", "CLN_xmask", dwXMask);
if (contact) {
- if (contact->extraCacheEntry >= 0 && contact->extraCacheEntry <= cfg::nextCacheEntry) {
+ if (contact->extraCacheEntry >= 0 && contact->extraCacheEntry <= cfg::nextCacheEntry)
cfg::eCache[contact->extraCacheEntry].dwDFlags = dwFlags;
- cfg::eCache[contact->extraCacheEntry].dwXMask = CalcXMask(hContact);
- }
}
else {
int iIndex = cfg::getCache(hContact, NULL);
- if (iIndex >= 0 && iIndex <= cfg::nextCacheEntry) {
+ if (iIndex >= 0 && iIndex <= cfg::nextCacheEntry)
cfg::eCache[iIndex].dwDFlags = dwFlags;
- cfg::eCache[iIndex].dwXMask = CalcXMask(hContact);
- }
}
cfg::writeByte(hContact, "CList", "Priority", (BYTE)(IsDlgButtonChecked(hWnd, IDC_IGN_PRIORITY) ? 1 : 0));
pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0);