summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-03 14:21:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-03 14:21:12 +0300
commit3c8ea1b0df4914c72ec0d6cb747f3844df3b2ce4 (patch)
treeec9255bc15e2cb9143d07c24e5608e9fe7b2d764 /plugins
parent87d4fbbfb03ba594924b08832d55326b3900efd8 (diff)
fingerprint: same fix for the second overlay
Diffstat (limited to 'plugins')
-rw-r--r--plugins/FingerprintNG/src/fingerprint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp
index 6180334715..d41db26972 100644
--- a/plugins/FingerprintNG/src/fingerprint.cpp
+++ b/plugins/FingerprintNG/src/fingerprint.cpp
@@ -688,7 +688,7 @@ HANDLE __fastcall GetIconIndexFromFI(LPTSTR szMirVer)
return INVALID_HANDLE_VALUE;
// MAX: 256 + 64 + 64 + 64 + 64
- FOUNDINFO tmp = { base, ((overlay & 0x3F) << 18) | ((overlay2 & 0x3F) << 12) | ((overlay3 & 0x3F) << 6) | (overlay4 & 0x3F) };
+ FOUNDINFO tmp = { base, ((overlay & 0xFF) << 18) | ((overlay2 & 0x3F) << 12) | ((overlay3 & 0x3F) << 6) | (overlay4 & 0x3F) };
auto *F = arFI.find(&tmp);
if (F != nullptr)
return F->hRegisteredImage;