mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
refactor: use xstrl{cpy,cat} on IObuff (#23648)
Replace usage of STR{CPY,CAT} with xstrl{cpy,cat} when using on IObuff Co-authored-by: ii14 <ii14@users.noreply.github.com>
This commit is contained in:
@@ -2667,7 +2667,7 @@ void ex_undolist(exarg_T *eap)
|
||||
undo_fmt_time(IObuff + strlen(IObuff), IOSIZE - strlen(IObuff), uhp->uh_time);
|
||||
if (uhp->uh_save_nr > 0) {
|
||||
while (strlen(IObuff) < 33) {
|
||||
STRCAT(IObuff, " ");
|
||||
xstrlcat(IObuff, " ", IOSIZE);
|
||||
}
|
||||
vim_snprintf_add(IObuff, IOSIZE, " %3ld", uhp->uh_save_nr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user