mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
refactor: replace char_u with char 18 (#21237)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -547,8 +547,8 @@ int showmode(void)
|
||||
if (curwin->w_p_arab) {
|
||||
msg_puts_attr(_(" Arabic"), attr);
|
||||
} else if (get_keymap_str(curwin, " (%s)",
|
||||
(char *)NameBuff, MAXPATHL)) {
|
||||
msg_puts_attr((char *)NameBuff, attr);
|
||||
NameBuff, MAXPATHL)) {
|
||||
msg_puts_attr(NameBuff, attr);
|
||||
}
|
||||
}
|
||||
if ((State & MODE_INSERT) && p_paste) {
|
||||
@@ -683,9 +683,9 @@ void get_trans_bufname(buf_T *buf)
|
||||
if (buf_spname(buf) != NULL) {
|
||||
xstrlcpy(NameBuff, buf_spname(buf), MAXPATHL);
|
||||
} else {
|
||||
home_replace(buf, buf->b_fname, (char *)NameBuff, MAXPATHL, true);
|
||||
home_replace(buf, buf->b_fname, NameBuff, MAXPATHL, true);
|
||||
}
|
||||
trans_characters((char *)NameBuff, MAXPATHL);
|
||||
trans_characters(NameBuff, MAXPATHL);
|
||||
}
|
||||
|
||||
/// Get the character to use in a separator between vertically split windows.
|
||||
|
Reference in New Issue
Block a user