mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
refactor: replace char_u with char 20 (#21714)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1656,8 +1656,8 @@ static void registerdigraph(int char1, int char2, int n)
|
||||
bool check_digraph_chars_valid(int char1, int char2)
|
||||
{
|
||||
if (char2 == 0) {
|
||||
char_u msg[MB_MAXBYTES + 1];
|
||||
msg[utf_char2bytes(char1, (char *)msg)] = NUL;
|
||||
char msg[MB_MAXBYTES + 1];
|
||||
msg[utf_char2bytes(char1, msg)] = NUL;
|
||||
semsg(_(e_digraph_must_be_just_two_characters_str), msg);
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user