diff options
author | George Hazan <ghazan@miranda.im> | 2018-09-03 14:21:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-09-03 14:21:12 +0300 |
commit | 3c8ea1b0df4914c72ec0d6cb747f3844df3b2ce4 (patch) | |
tree | ec9255bc15e2cb9143d07c24e5608e9fe7b2d764 /plugins | |
parent | 87d4fbbfb03ba594924b08832d55326b3900efd8 (diff) |
fingerprint: same fix for the second overlay
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/FingerprintNG/src/fingerprint.cpp | 2 |
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; |