mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
refactor: remove redundant char casts #15888
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user