]> git.neil.brown.name Git - edlib.git/commit
autospell: fix detection of existing spell range handler
authorNeilBrown <neil@brown.name>
Mon, 9 Oct 2023 22:35:04 +0000 (09:35 +1100)
committerNeilBrown <neil@brown.name>
Mon, 9 Oct 2023 22:35:04 +0000 (09:35 +1100)
commite7f65c60bacdd50b047d8f7ea83d5c0516591168
tree15d641686c32d5d4d666221cde1b7bd06d87df78
parentb6e9f47a9fab312a6c0cb3aa5c1912f3bb5d6b37
autospell: fix detection of existing spell range handler

Two cases:
 no rangecheck at all - return is 0
 rangecheck existgs, but not for spell: return is Efalse

So test <= 0.

Signed-off-by: NeilBrown <neil@brown.name>
python/lib-autospell.py