diff src/ex_cmds.c @ 748:605c8fbb13dd

updated for version 7.0222
author vimboss
date Sun, 12 Mar 2006 22:18:00 +0000
parents ace020011f68
children 8a6982d59d8e
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3344,7 +3344,7 @@ do_ecmd(fnum, ffname, sfname, eap, newln
 #ifdef FEAT_DIFF
 	curwin->w_p_diff = FALSE;	/* No 'diff' */
 #endif
-#ifdef FEAT_SYN_HL
+#ifdef FEAT_SPELL
 	curwin->w_p_spell = FALSE;	/* No spell checking */
 #endif
 
@@ -4493,9 +4493,9 @@ do_sub(eap)
 
 			    update_topline();
 			    validate_cursor();
-			    update_screen(NOT_VALID);
+			    update_screen(SOME_VALID);
 			    highlight_match = FALSE;
-			    redraw_later(NOT_VALID);
+			    redraw_later(SOME_VALID);
 
 #ifdef FEAT_FOLDING
 			    curwin->w_p_fen = save_p_fen;