From c625ddaf81f7481bffcd528ed3012fdc3a6bc8e1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 7 Nov 2012 14:53:21 +0000 Subject: EMPTY_EXTRA_ICON applied to all another plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@2232 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FingerPrintModPlus/src/fingerprint.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/FingerPrintModPlus') 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 -- cgit v1.2.3