Mercurial > vim
changeset 2363:acbb3a9ccc07 vim73
Avoid error when exiting in diff mode with EXITFREE defined.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 20 Jul 2010 22:30:01 +0200 |
parents | 6cee3bf00495 |
children | 151b037b7e74 |
files | src/misc2.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -1038,7 +1038,8 @@ free_all_mem() # 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)