]> granicus.if.org Git - vim/commitdiff
Avoid error when exiting in diff mode with EXITFREE defined.
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Jul 2010 20:30:01 +0000 (22:30 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Jul 2010 20:30:01 +0000 (22:30 +0200)
src/misc2.c

index 9327e891a9282a85c269f6c178bf50c106aae41b..98f2991c45eb1edc80d78f193944b728080434fc 100644 (file)
@@ -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)