summaryrefslogtreecommitdiff
path: root/plugins/FingerprintNG
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-05 21:11:05 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-05 21:11:05 +0000
commita5a54efa6607af6e5927dbca412918b45e96c88d (patch)
tree2b6d47ede7fb0e3708fd02bdd63e44ba5fc628af /plugins/FingerprintNG
parent9e09ad54de3b9a29225366acfa72a594cd75fb29 (diff)
don't sure that it is correct fix. For me it is working now:
when disabling proto icons in Fingerprint settings, for contact of this proto icons doesn;t show in CL git-svn-id: http://svn.miranda-ng.org/main/trunk@2659 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FingerprintNG')
-rw-r--r--plugins/FingerprintNG/src/fingerprint.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp
index a287828981..adffad0a87 100644
--- a/plugins/FingerprintNG/src/fingerprint.cpp
+++ b/plugins/FingerprintNG/src/fingerprint.cpp
@@ -433,6 +433,8 @@ static void MatchMasks(TCHAR* szMirVer, short *base, short *overlay,short *overl
}
break;
}
+ if (i == DEFAULT_KN_FP_MASK_COUNT - 1)
+ i = -1;
if (!def_kn_fp_mask[i].fNotUseOverlay && i < DEFAULT_KN_FP_MASK_COUNT) {
for (j = 0; j < DEFAULT_KN_FP_OVERLAYS_COUNT; j++) {