diff --git a/patch/fuzzymatch.c b/patch/fuzzymatch.c index 49811fa..8e62cdd 100644 --- a/patch/fuzzymatch.c +++ b/patch/fuzzymatch.c @@ -67,6 +67,10 @@ fuzzymatch(void) for (i = 0, it = matches; it && i < number_of_matches; i++, it = it->right) { fuzzymatches[i] = it; } + + #if NO_SORT_PATCH + if (sortmatches) + #endif // NO_SORT_PATCH /* sort matches according to distance */ qsort(fuzzymatches, number_of_matches, sizeof(struct item*), compare_distance); /* rebuild list of matches */