mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
refactor: replace char_u with char 21 (#21779)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1338,7 +1338,7 @@ static char *menu_text(const char *str, int *mnemonic, char **actext)
|
||||
break;
|
||||
}
|
||||
if (mnemonic != NULL && p[1] != '&') {
|
||||
*mnemonic = (char_u)p[1];
|
||||
*mnemonic = (uint8_t)p[1];
|
||||
}
|
||||
STRMOVE(p, p + 1);
|
||||
p = p + 1;
|
||||
@@ -1531,7 +1531,7 @@ void execute_menu(const exarg_T *eap, vimmenu_T *menu, int mode_idx)
|
||||
|
||||
ex_normal_busy++;
|
||||
if (save_current_state(&save_state)) {
|
||||
exec_normal_cmd((char_u *)menu->strings[idx], menu->noremap[idx],
|
||||
exec_normal_cmd(menu->strings[idx], menu->noremap[idx],
|
||||
menu->silent[idx]);
|
||||
}
|
||||
restore_current_state(&save_state);
|
||||
|
Reference in New Issue
Block a user