commit | 5bedfc6091432adfaa5e9ff177f30ec9dbe5de48 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 20 22:30:01 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 20 22:30:01 2010 +0200 |
tree | c055e6ffa92b802c402e72d5f9ce29da2aa6519c | |
parent | 9c449728175fda3413377fd92e3ce0f288f35e6f [diff] [blame] |
Avoid error when exiting in diff mode with EXITFREE defined.
diff --git a/src/misc2.c b/src/misc2.c index 9327e89..98f2991 100644 --- a/src/misc2.c +++ b/src/misc2.c
@@ -1038,7 +1038,8 @@ # endif # ifdef FEAT_WINDOWS - /* close all tabs and windows */ + /* Close all tabs and windows. Reset 'equalalways' to avoid redraws. */ + p_ea = FALSE; if (first_tabpage->tp_next != NULL) do_cmdline_cmd((char_u *)"tabonly!"); if (firstwin != lastwin)