summaryrefslogtreecommitdiff
path: root/plugins/ExtraIcons/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-16 09:45:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-16 09:45:49 +0000
commit130c2312fc836432ede2202f3ccb45624dca559f (patch)
tree9d91e9c032d86983f69c4d095eb9f8c2ae04b5ce /plugins/ExtraIcons/src/options.cpp
parentd1b34f9184e45f402d87db5bd9371e15bee9c50b (diff)
fix for icolib-based extra icons
git-svn-id: http://svn.miranda-ng.org/main/trunk@1478 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExtraIcons/src/options.cpp')
-rw-r--r--plugins/ExtraIcons/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExtraIcons/src/options.cpp b/plugins/ExtraIcons/src/options.cpp
index ae0fa2620a..8d8d30c1fd 100644
--- a/plugins/ExtraIcons/src/options.cpp
+++ b/plugins/ExtraIcons/src/options.cpp
@@ -91,7 +91,7 @@ static void RemoveExtraIcons(int slot)
HANDLE hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDFIRST, 0, 0);
while (hContact != NULL)
{
- Clist_SetExtraIcon(hContact, slot, (HANDLE) -1);
+ Clist_SetExtraIcon(hContact, slot, INVALID_HANDLE_VALUE);
hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM) hContact, 0);
}