summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/spell.c5
-rw-r--r--src/version.c2
2 files changed, 6 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);
}
diff --git a/src/version.c b/src/version.c
index 33f8f1ad0..c170e1530 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 100,
+/**/
99,
/**/
98,