diff src/misc2.c @ 671:83a006f81bac v7.0199

updated for version 7.0199
author vimboss
date Thu, 16 Feb 2006 22:11:02 +0000
parents e4fa26ce8769
children 513866ffe6af
line wrap: on
line diff
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -2790,7 +2790,9 @@ set_fileformat(t, opt_flags)
 	set_string_option_direct((char_u *)"ff", -1, (char_u *)p,
 							OPT_FREE | opt_flags);
 #ifdef FEAT_WINDOWS
+    /* This may cause the buffer to become (un)modified. */
     check_status(curbuf);
+    redraw_tabpage = TRUE;
 #endif
 #ifdef FEAT_TITLE
     need_maketitle = TRUE;	    /* set window title later */