summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-22 16:20:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-22 16:20:05 +0000
commitf98e2216f98a31dbb0f77b97249aaaee75b345ed (patch)
treefa1033da7ca1b02a5238c958cfa6fb5da22ef2c4 /src/modules/clist
parent87cbc0b769f26286166201018c9e0e357c5caa66 (diff)
massive garbage removal from extra icons module
git-svn-id: http://svn.miranda-ng.org/main/trunk@7340 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist')
-rw-r--r--src/modules/clist/clcitems.cpp2
-rw-r--r--src/modules/clist/clui.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/clist/clcitems.cpp b/src/modules/clist/clcitems.cpp
index 139c7e6e70..02818eb71b 100644
--- a/src/modules/clist/clcitems.cpp
+++ b/src/modules/clist/clcitems.cpp
@@ -422,7 +422,7 @@ void fnRebuildEntireList(HWND hwnd, struct ClcData *dat)
}
cli.pfnSortCLC(hwnd, dat, 0);
- cli.pfnSetAllExtraIcons(cli.hwndContactTree, 0);
+ cli.pfnSetAllExtraIcons(0);
}
int fnGetGroupContentsCount(ClcGroup *group, int visibleOnly)
diff --git a/src/modules/clist/clui.cpp b/src/modules/clist/clui.cpp
index 2f98c3c7d1..0e0ef05e14 100644
--- a/src/modules/clist/clui.cpp
+++ b/src/modules/clist/clui.cpp
@@ -814,11 +814,11 @@ LRESULT CALLBACK fnContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
case CLN_NEWCONTACT:
if (nmc != NULL)
- cli.pfnSetAllExtraIcons(cli.hwndContactTree, nmc->hItem);
+ cli.pfnSetAllExtraIcons(nmc->hItem);
return TRUE;
case CLN_LISTREBUILT:
- cli.pfnSetAllExtraIcons(cli.hwndContactTree, 0);
+ cli.pfnSetAllExtraIcons(NULL);
return(FALSE);
case NM_KEYDOWN: