diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-03 22:36:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 22:36:52 -0500 |
commit | b96db38af184b1a271c88a4c89e709ce32143514 (patch) | |
tree | 9bf20d69202e83921a657fab8baef564368e173a /src/nvim/spellfile.c | |
parent | 4a1a86a2bea4b88a8c981cabf2cf131830012edc (diff) | |
parent | da3f9778aff8cfa134adec3fca93c00d82bcf4af (diff) | |
download | rneovim-b96db38af184b1a271c88a4c89e709ce32143514.tar.gz rneovim-b96db38af184b1a271c88a4c89e709ce32143514.tar.bz2 rneovim-b96db38af184b1a271c88a4c89e709ce32143514.zip |
Merge pull request #13865 from janlazo/vim-8.2.2437
vim-patch:8.2.{2437,2439,2442,2446,2447,2448,2457,2458,2462,2464}
Diffstat (limited to 'src/nvim/spellfile.c')
-rw-r--r-- | src/nvim/spellfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index 90af010164..3c125959a9 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -5387,7 +5387,8 @@ spell_add_word ( len, word, NameBuff); } } - if (fseek(fd, fpos_next, SEEK_SET) <= 0) { + if (fseek(fd, fpos_next, SEEK_SET) != 0) { + PERROR(_("Seek error in spellfile")); break; } } |