From: Bram Moolenaar Date: Tue, 20 Jul 2010 20:30:01 +0000 (+0200) Subject: Avoid error when exiting in diff mode with EXITFREE defined. X-Git-Tag: v7.3~209 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bedfc6091432adfaa5e9ff177f30ec9dbe5de48;p=thirdparty%2Fvim.git Avoid error when exiting in diff mode with EXITFREE defined. --- diff --git a/src/misc2.c b/src/misc2.c index 9327e891a9..98f2991c45 100644 --- 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)