summaryrefslogtreecommitdiff
path: root/plugins/FingerPrintModPlus
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-07 14:53:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-07 14:53:21 +0000
commitc625ddaf81f7481bffcd528ed3012fdc3a6bc8e1 (patch)
tree9a2f26824142e0bd53b5332c2a00d86137370a51 /plugins/FingerPrintModPlus
parentf3bd86cba781bb179169419de8101ab32ba0760e (diff)
EMPTY_EXTRA_ICON applied to all another plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@2232 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FingerPrintModPlus')
-rw-r--r--plugins/FingerPrintModPlus/src/fingerprint.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/FingerPrintModPlus/src/fingerprint.cpp b/plugins/FingerPrintModPlus/src/fingerprint.cpp
index d793f09e17..54db722e3b 100644
--- a/plugins/FingerPrintModPlus/src/fingerprint.cpp
+++ b/plugins/FingerPrintModPlus/src/fingerprint.cpp
@@ -152,7 +152,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
/* ApplyFingerprintImage
* 1)Try to find appropriate mask
-* 2)Register icon in extraimage list if not yet registered (0xFF)
+* 2)Register icon in extraimage list if not yet registered (EMPTY_EXTRA_ICON)
* 3)Set ExtraImage for contact
*/
@@ -177,7 +177,7 @@ int OnExtraIconClick(WPARAM wParam, LPARAM lParam, LPARAM)
/*
* OnExtraIconListRebuild
-* Set all registered indexes in array to 0xFF (unregistered icon)
+* Set all registered indexes in array to EMPTY_EXTRA_ICON (unregistered icon)
*/
int OnExtraIconListRebuild(WPARAM wParam, LPARAM lParam)
{
@@ -1060,7 +1060,7 @@ HANDLE FASTCALL GetIconIndexFromFI(LPTSTR szMirVer)
{
short base, overlay, overlay2, overlay3;
GetIconsIndexes(szMirVer, &base, &overlay, &overlay2, &overlay3);
- if (base == -1 || nFICount == 0xFF)
+ if (base == -1 || nFICount == 0xFFFF)
return INVALID_HANDLE_VALUE;
// MAX: 1024 + 256 + 128 + 128