diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-15 20:29:07 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-15 20:29:07 +0000 |
commit | 50091223b8c0ed404968441c728e400e43ac6b8a (patch) | |
tree | f89833bd530fd63655e7d0575435212d2152ff7b /plugins/ExtraIcons/src/options.cpp | |
parent | f5a524f750e1dc0c16d82df546557d9d7fe703f8 (diff) |
- patch from pescuma for NULL handles
git-svn-id: http://svn.miranda-ng.org/main/trunk@1470 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExtraIcons/src/options.cpp')
-rw-r--r-- | plugins/ExtraIcons/src/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExtraIcons/src/options.cpp b/plugins/ExtraIcons/src/options.cpp index 83228a2a72..ae0fa2620a 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, NULL);
+ Clist_SetExtraIcon(hContact, slot, (HANDLE) -1);
hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM) hContact, 0);
}
|