changeset 627:84217af41926

updated for version 7.0181
author vimboss
date Sat, 14 Jan 2006 21:15:59 +0000
parents 732c7ae5743e
children efb7557aea10
files src/spell.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/spell.c
+++ b/src/spell.c
@@ -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);
     }