From fc2a47ffc425777704b329c9edbe21163bedf63c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 20 Aug 2020 15:41:55 +0200 Subject: patch 8.2.1493: not enough test coverage for the spell file handling Problem: Not enough test coverage for the spell file handling. Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728) --- src/spellfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/spellfile.c') 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); // if (lp->sl_syllable == NULL) goto endFAIL; - if (init_syl_tab(lp) == FAIL) + if (init_syl_tab(lp) != OK) goto endFAIL; break; -- cgit v1.2.1