From 2113a1d623130aab59f020ba376b1793a16fb20f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 11 Sep 2006 19:38:08 +0000 Subject: [PATCH] updated for version 7.0-100 --- src/spell.c | 5 ++++- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 100, /**/ 99, /**/ -- 2.50.1