diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-04 15:40:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 06:40:43 -0700 |
commit | 44f7b46199aebedb0ff7f8ce782b375a0e156b27 (patch) | |
tree | ffc0b6403ce358bda871d07b10b690da8e597966 /src/nvim/ex_getln.c | |
parent | b4c54ffa2216f46f9f0c456c7c53d3f6a66dad15 (diff) | |
download | rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.tar.gz rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.tar.bz2 rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.zip |
refactor: remove redundant char casts #15888
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index a9990df58f..e0ff9bab3a 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -3037,7 +3037,7 @@ static void ui_ext_cmdline_show(CmdlineInfo *line) line->cmdindent, line->level); if (line->special_char) { - ui_call_cmdline_special_char(cchar_to_string((char)(line->special_char)), + ui_call_cmdline_special_char(cchar_to_string(line->special_char), line->special_shift, line->level); } @@ -3135,7 +3135,7 @@ void putcmdline(char c, int shift) } msg_no_more = false; } else if (ccline.redraw_state != kCmdRedrawAll) { - ui_call_cmdline_special_char(cchar_to_string((char)(c)), shift, + ui_call_cmdline_special_char(cchar_to_string(c), shift, ccline.level); } cursorcmd(); |