mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1162,7 +1162,7 @@ static char *uc_split_args(char *arg, char **args, size_t *arglens, size_t argc,
|
||||
*q++ = ' ';
|
||||
*q++ = '"';
|
||||
} else {
|
||||
mb_copy_char((const char_u **)&p, (char_u **)&q);
|
||||
mb_copy_char((const char **)&p, &q);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -1175,7 +1175,7 @@ static char *uc_split_args(char *arg, char **args, size_t *arglens, size_t argc,
|
||||
*q++ = '\\';
|
||||
*q++ = *p++;
|
||||
} else {
|
||||
mb_copy_char((const char_u **)&p, (char_u **)&q);
|
||||
mb_copy_char((const char **)&p, &q);
|
||||
}
|
||||
}
|
||||
if (i != argc - 1) {
|
||||
|
Reference in New Issue
Block a user