aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/spellfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/misc/spellfix.c')
-rw-r--r--ext/misc/spellfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/spellfix.c b/ext/misc/spellfix.c
index 8651bb7a9..e2364fe5b 100644
--- a/ext/misc/spellfix.c
+++ b/ext/misc/spellfix.c
@@ -764,7 +764,7 @@ static int editDist3ConfigLoad(
assert( zTo!=0 || nTo==0 );
if( nFrom>100 || nTo>100 ) continue;
if( iCost<0 ) continue;
- if( iCost>10000 ) continue; /* Costs above 10K are considered infinite */
+ if( iCost>=10000 ) continue; /* Costs above 10K are considered infinite */
if( pLang==0 || iLang!=iLangPrev ){
EditDist3Lang *pNew;
pNew = sqlite3_realloc64(p->a, (p->nLang+1)*sizeof(p->a[0]));