summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-09-11 19:38:08 +0000
committerBram Moolenaar <Bram@vim.org>2006-09-11 19:38:08 +0000
commit2113a1d623130aab59f020ba376b1793a16fb20f (patch)
treee4d7a2a1cf0aec03c99bf6381802cbe08879d1ca /src/spell.c
parent05bb82f9497f4ac9e61da7f88ba78d811b0c5df0 (diff)
downloadvim-git-2113a1d623130aab59f020ba376b1793a16fb20f.tar.gz
updated for version 7.0-100v7.0.100
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index b7061b468..a79453ea3 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -1483,7 +1483,7 @@ find_word(mip, mode)
else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND
|| !word_ends))
{
- /* If there is no flag or the word is shorter than
+ /* If there is no compound flag or the word is shorter than
* COMPOUNDMIN reject it quickly.
* Makes you wonder why someone puts a compound flag on a word
* that's too short... Myspell compatibility requires this
@@ -9336,7 +9336,10 @@ spell_add_word(word, len, bad, idx, undo)
{
fputc('#', fd);
if (undo)
+ {
+ home_replace(NULL, fname, NameBuff, MAXPATHL, TRUE);
smsg((char_u *)_("Word removed from %s"), NameBuff);
+ }
}
fseek(fd, fpos_next, SEEK_SET);
}