diff options
Diffstat (limited to 'plugins/ExtraIcons/src/extraicons.cpp')
-rw-r--r-- | plugins/ExtraIcons/src/extraicons.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExtraIcons/src/extraicons.cpp b/plugins/ExtraIcons/src/extraicons.cpp index e468137300..c1affd39ac 100644 --- a/plugins/ExtraIcons/src/extraicons.cpp +++ b/plugins/ExtraIcons/src/extraicons.cpp @@ -157,7 +157,7 @@ int Clist_SetExtraIcon(HANDLE hContact, int slot, HANDLE hImage) IconExtraColumn iec = { 0 };
iec.cbSize = sizeof(iec);
iec.ColumnType = ConvertToClistSlot(slot);
- iec.hImage = (hImage == NULL ? (HANDLE) -1 : hImage);
+ iec.hImage = hImage;
return CallService(MS_CLIST_EXTRA_SET_ICON, (WPARAM) hContact, (LPARAM) &iec);
}
|