]> granicus.if.org Git - vim/commitdiff
updated for version 7.0181
authorBram Moolenaar <Bram@vim.org>
Sat, 14 Jan 2006 21:15:59 +0000 (21:15 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 14 Jan 2006 21:15:59 +0000 (21:15 +0000)
src/spell.c

index 9d8f2bf40e8765510fcf93b0f8a1c4a39eb425c3..882cc50eeff891ad1da87c61ba5c978e081ed7a1 100644 (file)
@@ -8779,7 +8779,7 @@ spell_add_word(word, len, bad, index)
 
        /* If the .add file is edited somewhere, reload it. */
        if (buf != NULL)
-           buf_reload(buf);
+           buf_reload(buf, buf->b_orig_mode);
 
        redraw_all_later(NOT_VALID);
     }