diff options
Diffstat (limited to 'src/spellfile.c')
-rw-r--r-- | src/spellfile.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/spellfile.c b/src/spellfile.c index 869db7f3f..20181695a 100644 --- a/src/spellfile.c +++ b/src/spellfile.c @@ -6277,7 +6277,11 @@ spell_add_word( len, word, NameBuff); } } - fseek(fd, fpos_next, SEEK_SET); + if (fseek(fd, fpos_next, SEEK_SET) != 0) + { + PERROR(_("Seek error in spellfile")); + break; + } } } if (fd != NULL) |