From 0970a9894cc5c74cdbba378670f3141119c812dc Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Mon, 17 Aug 2009 02:18:19 +0000 Subject: [PATCH] 'everything' module: whoops choose the offset weight for fuzzy matching way too large SVN revision: 41829 --- src/modules/everything/evry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/everything/evry.c b/src/modules/everything/evry.c index 93a3a7126..324ad4b26 100644 --- a/src/modules/everything/evry.c +++ b/src/modules/everything/evry.c @@ -540,7 +540,7 @@ evry_fuzzy_match(const char *str, const char *match) /* first offset of match in word */ if (!first) { - offset *= 10; + offset *= 2; last = offset; first = 1; }