From 5bedfc6091432adfaa5e9ff177f30ec9dbe5de48 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Tue, 20 Jul 2010 22:30:01 +0200 Subject: [PATCH] Avoid error when exiting in diff mode with EXITFREE defined. --- src/misc2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- GitLab