mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
refactor: replace char_u #18429
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1846,7 +1846,7 @@ static void printdigraph(const digr_T *dp, result_T *previous)
|
||||
*p++ = dp->char2;
|
||||
*p++ = ' ';
|
||||
*p = NUL;
|
||||
msg_outtrans(buf);
|
||||
msg_outtrans((char *)buf);
|
||||
p = buf;
|
||||
|
||||
// add a space to draw a composing char on
|
||||
@@ -1863,7 +1863,7 @@ static void printdigraph(const digr_T *dp, result_T *previous)
|
||||
}
|
||||
assert(p >= buf);
|
||||
vim_snprintf((char *)p, sizeof(buf) - (size_t)(p - buf), " %3d", dp->result);
|
||||
msg_outtrans(buf);
|
||||
msg_outtrans((char *)buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user