changeset 32870:c18185d165cc v9.0.1744

patch 9.0.1744: Dead code in open_cmdwin() Commit: https://github.com/vim/vim/commit/c3172fe9e4d3ea7f705b5fc02fdb0c4ceb3df8b9 Author: Sean Dewar <seandewar@users.noreply.github.com> Date: Sat Aug 19 13:23:50 2023 +0200 patch 9.0.1744: Dead code in open_cmdwin() Problem: Dead code in open_cmdwin() Solution: Remove it closes: #12839 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2023 13:30:07 +0200
parents 47d83ab63764
children 7d5daefc6bb6
files src/ex_getln.c src/version.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -4613,11 +4613,6 @@ open_cmdwin(void)
 		stuffcharReadbuff(CAR);
 	    }
 	}
-	else if (cmdwin_result == K_XF2)	// :qa typed
-	{
-	    ccline.cmdbuff = vim_strsave((char_u *)"qa");
-	    cmdwin_result = CAR;
-	}
 	else if (cmdwin_result == Ctrl_C)
 	{
 	    // :q or :close, don't execute any command
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1744,
+/**/
     1743,
 /**/
     1742,