summaryrefslogtreecommitdiff
path: root/plugins/ExtraIcons/src/ExtraIcon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExtraIcons/src/ExtraIcon.cpp')
-rw-r--r--plugins/ExtraIcons/src/ExtraIcon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExtraIcons/src/ExtraIcon.cpp b/plugins/ExtraIcons/src/ExtraIcon.cpp
index a06fa6f446..e681e3139d 100644
--- a/plugins/ExtraIcons/src/ExtraIcon.cpp
+++ b/plugins/ExtraIcons/src/ExtraIcon.cpp
@@ -67,7 +67,7 @@ void ExtraIcon::applyIcons()
while (hContact != NULL)
{
// Clear to assert that it will be cleared
- Clist_SetExtraIcon(hContact, slot, (HANDLE) -1);
+ Clist_SetExtraIcon(hContact, slot, INVALID_HANDLE_VALUE);
applyIcon(hContact);