0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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)
This commit is contained in:
zeertzjq
2022-02-23 12:23:08 +00:00
committed by Bram Moolenaar
parent 4791fcd825
commit 6a8b13614e
4 changed files with 7 additions and 3 deletions

View File

@@ -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();
}