mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 06:48:17 +00:00
Use memmove instead of mch_memmove
This commit is contained in:

committed by
Thiago de Arruda

parent
dbc904956a
commit
07dad7acf3
@@ -3110,7 +3110,7 @@ int add_to_showcmd(int c)
|
||||
extra_len = (int)STRLEN(p);
|
||||
overflow = old_len + extra_len - SHOWCMD_COLS;
|
||||
if (overflow > 0)
|
||||
mch_memmove(showcmd_buf, showcmd_buf + overflow,
|
||||
memmove(showcmd_buf, showcmd_buf + overflow,
|
||||
old_len - overflow + 1);
|
||||
STRCAT(showcmd_buf, p);
|
||||
|
||||
|
Reference in New Issue
Block a user