summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 adffad0a87..01d5cefa53 100644
--- a/plugins/FingerprintNG/src/fingerprint.cpp
+++ b/plugins/FingerprintNG/src/fingerprint.cpp
@@ -433,7 +433,7 @@ static void MatchMasks(TCHAR* szMirVer, short *base, short *overlay,short *overl
}
break;
}
- if (i == DEFAULT_KN_FP_MASK_COUNT - 1)
+ if (i == DEFAULT_KN_FP_MASK_COUNT)
i = -1;
if (!def_kn_fp_mask[i].fNotUseOverlay && i < DEFAULT_KN_FP_MASK_COUNT) {