]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-100 v7.0.100
authorBram Moolenaar <Bram@vim.org>
Mon, 11 Sep 2006 19:38:08 +0000 (19:38 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 11 Sep 2006 19:38:08 +0000 (19:38 +0000)
src/spell.c
src/version.c

index b7061b4688451b5e763837af42bace64d47db878..a79453ea34eb0d7ccd7cd3417a26af8c35a626b4 100644 (file)
@@ -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);
                }
index 33f8f1ad084ff2396e9258aa134dff51808b0910..c170e15307dd08577cf81f0916c88ae5ebca0a21 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    100,
 /**/
     99,
 /**/