diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2012-08-15 20:29:48 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2012-08-15 20:29:48 +0000 |
commit | 446f5c32cc469350cf72db2f7f831522dd8a5301 (patch) | |
tree | 1c55798dcb9c4589ad58b5f6ba0849ef43e77737 /Plugins/extraicons/options.cpp | |
parent | ec71f909084560e7eae20c1c67bc506164d22021 (diff) |
Extra Icons: fix for using hImage NULL as not found (should be -1)
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@256 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/extraicons/options.cpp')
-rw-r--r-- | Plugins/extraicons/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/extraicons/options.cpp b/Plugins/extraicons/options.cpp index bbfc826..0d9114e 100644 --- a/Plugins/extraicons/options.cpp +++ b/Plugins/extraicons/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, NULL);
+ Clist_SetExtraIcon(hContact, slot, (HANDLE) -1);
hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM) hContact, 0);
}
|