From a5a54efa6607af6e5927dbca412918b45e96c88d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 5 Dec 2012 21:11:05 +0000 Subject: 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 --- plugins/FingerprintNG/src/fingerprint.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/FingerprintNG') 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++) { -- cgit v1.2.3