mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1873,7 +1873,7 @@ void nlua_do_ucmd(ucmd_T *cmd, exarg_T *eap)
|
||||
char *buf = xcalloc(length, sizeof(char));
|
||||
bool done = false;
|
||||
while (!done) {
|
||||
done = uc_split_args_iter(eap->arg, length, &end, buf, &len);
|
||||
done = uc_split_args_iter((char_u *)eap->arg, length, &end, buf, &len);
|
||||
if (len > 0) {
|
||||
lua_pushlstring(lstate, buf, len);
|
||||
lua_rawseti(lstate, -2, i);
|
||||
|
Reference in New Issue
Block a user