summaryrefslogtreecommitdiff
path: root/src/spellfile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-20 15:41:55 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-20 15:41:55 +0200
commitfc2a47ffc425777704b329c9edbe21163bedf63c (patch)
treeaeab296701c390a40662c1d17b5975735d943d4a /src/spellfile.c
parent20b23c6358131baefb57b9083387fb4524d3ff24 (diff)
downloadvim-git-fc2a47ffc425777704b329c9edbe21163bedf63c.tar.gz
patch 8.2.1493: not enough test coverage for the spell file handlingv8.2.1493
Problem: Not enough test coverage for the spell file handling. Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
Diffstat (limited to 'src/spellfile.c')
-rw-r--r--src/spellfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellfile.c b/src/spellfile.c
index 8a029dc71..957be097a 100644
--- a/src/spellfile.c
+++ b/src/spellfile.c
@@ -519,7 +519,7 @@ spell_load_file(
lp->sl_syllable = read_string(fd, len); // <syllable>
if (lp->sl_syllable == NULL)
goto endFAIL;
- if (init_syl_tab(lp) == FAIL)
+ if (init_syl_tab(lp) != OK)
goto endFAIL;
break;