aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-04-02 10:11:42 +0200
committerGitHub <noreply@github.com>2023-04-02 16:11:42 +0800
commitd510bfbc8e447b1a60d5ec7faaa8f440eb4ef56f (patch)
treecfe7dd74ad588e935ea7613fc91c99b819aa99ad /src/nvim/ex_getln.c
parent9084948893f9c1669ab56061c8d04adabbb6c3cf (diff)
downloadrneovim-d510bfbc8e447b1a60d5ec7faaa8f440eb4ef56f.tar.gz
rneovim-d510bfbc8e447b1a60d5ec7faaa8f440eb4ef56f.tar.bz2
rneovim-d510bfbc8e447b1a60d5ec7faaa8f440eb4ef56f.zip
refactor: remove char_u (#22829)
Closes https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 5112505eda..bd7ddbf567 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -2117,7 +2117,7 @@ static int command_line_handle_key(CommandLineState *s)
// put the character in the command line
if (IS_SPECIAL(s->c) || mod_mask != 0) {
- put_on_cmdline((char *)get_special_key_name(s->c, mod_mask), -1, true);
+ put_on_cmdline(get_special_key_name(s->c, mod_mask), -1, true);
} else {
int j = utf_char2bytes(s->c, IObuff);
IObuff[j] = NUL; // exclude composing chars