summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
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: