diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2023-08-19 13:23:50 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-19 13:23:50 +0200 |
commit | c3172fe9e4d3ea7f705b5fc02fdb0c4ceb3df8b9 (patch) | |
tree | f85a2a68a52cc8a793f5064b3484a63686b61776 | |
parent | 04510566b10b5552d4ce8ba32e5422e755a239fb (diff) |
patch 9.0.1744: Dead code in open_cmdwin()v9.0.1744
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>
-rw-r--r-- | src/ex_getln.c | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 55b4632ac3..dff7ec9ff5 100644 --- 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 diff --git a/src/version.c b/src/version.c index 1ee8dd33a3..c41db31b6e 100644 --- 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, |