summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-23 12:23:08 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-23 12:23:08 +0000
commit6a8b13614e5bcb233d20403ae9f008ccba152be3 (patch)
tree0694a62d65b18effbea5b24892553f939eada10a /src/ui.c
parent4791fcd82565adcc60b86830e0bb6cd5b6eea0a6 (diff)
downloadvim-git-6a8b13614e5bcb233d20403ae9f008ccba152be3.tar.gz
patch 8.2.4454: resetting cmdwin_type only for one situationv8.2.4454
Problem: Resetting cmdwin_type only for one situation. Solution: Reset cmdwin_type before closing windows. (closes #9822)
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c3
1 files changed, 0 insertions, 3 deletions
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();
}