summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-06 11:11:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-06 11:11:00 +0000
commit9b47317d044f871d72a22406e4fd92656e55d96e (patch)
tree59680746525be86c93b92c5f27a7dc424f127374 /plugins
parent13c92734cde3cec88695de3f6145eaba5b4ace95 (diff)
wrong cycle end condition
git-svn-id: http://svn.miranda-ng.org/main/trunk@2664 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 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) {