Mercurial > vim
comparison src/ex_getln.c @ 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 | df63fa700fc6 |
children | 306f51627f50 |
comparison
equal
deleted
inserted
replaced
32869:47d83ab63764 | 32870:c18185d165cc |
---|---|
4611 stuffcharReadbuff(':'); | 4611 stuffcharReadbuff(':'); |
4612 stuffReadbuff((char_u *)p); | 4612 stuffReadbuff((char_u *)p); |
4613 stuffcharReadbuff(CAR); | 4613 stuffcharReadbuff(CAR); |
4614 } | 4614 } |
4615 } | 4615 } |
4616 else if (cmdwin_result == K_XF2) // :qa typed | |
4617 { | |
4618 ccline.cmdbuff = vim_strsave((char_u *)"qa"); | |
4619 cmdwin_result = CAR; | |
4620 } | |
4621 else if (cmdwin_result == Ctrl_C) | 4616 else if (cmdwin_result == Ctrl_C) |
4622 { | 4617 { |
4623 // :q or :close, don't execute any command | 4618 // :q or :close, don't execute any command |
4624 // and don't modify the cmd window. | 4619 // and don't modify the cmd window. |
4625 ccline.cmdbuff = NULL; | 4620 ccline.cmdbuff = NULL; |