From 6a8b13614e5bcb233d20403ae9f008ccba152be3 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 23 Feb 2022 12:23:08 +0000 Subject: patch 8.2.4454: resetting cmdwin_type only for one situation Problem: Resetting cmdwin_type only for one situation. Solution: Reset cmdwin_type before closing windows. (closes #9822) --- src/ui.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index bf6ea858b..a6cee804a 100644 --- a/src/ui.c +++ b/src/ui.c @@ -1065,9 +1065,6 @@ read_error_exit(void) if (silent_mode) // Normal way to exit for "ex -s" getout(0); STRCPY(IObuff, _("Vim: Error reading input, exiting...\n")); -#ifdef FEAT_CMDWIN - cmdwin_type = 0; -#endif preserve_exit(); } -- cgit v1.2.1