summaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-16 22:11:02 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-16 22:11:02 +0000
commitf740b29ae2a346e44c34001b3bf8ecfa0c7857bd (patch)
tree5b62807af1359d3df97367448927cdbb53969448 /src/misc2.c
parent4c7ed462cb7813730b4f15f9cb09f1b26d097fca (diff)
downloadvim-git-f740b29ae2a346e44c34001b3bf8ecfa0c7857bd.tar.gz
updated for version 7.0199v7.0199
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 328bdf216..2ff4d5c58 100644
--- 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 */