summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 24dcd5a58..bbf67d5ce 100644
--- a/src/search.c
+++ b/src/search.c
@@ -4444,7 +4444,7 @@ fuzzy_match_recursive(
if (fuzzy_match_recursive(fuzpat, next_char, strIdx + 1,
&recursiveScore, strBegin, strLen, matches,
recursiveMatches,
- sizeof(recursiveMatches)/sizeof(recursiveMatches[0]),
+ ARRAY_LENGTH(recursiveMatches),
nextMatch, recursionCount))
{
// Pick best recursive score