summaryrefslogtreecommitdiff
path: root/plugins/ExtraIcons/src/options.cpp
diff options
context:
space:
mode:
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);
}