mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 06:48:17 +00:00
Use portable format specifiers: Improve arguments formatting.
At some places, printf-like function's arguments styling could be improved to enhance readability.
This commit is contained in:

committed by
Thiago de Arruda

parent
e194324885
commit
4d0dd14189
@@ -2179,8 +2179,9 @@ void buflist_list(exarg_T *eap)
|
||||
IObuff[len++] = ' ';
|
||||
} while (--i > 0 && len < IOSIZE - 18);
|
||||
vim_snprintf((char *)IObuff + len, (size_t)(IOSIZE - len),
|
||||
_("line %" PRId64), buf == curbuf ? (int64_t)curwin->w_cursor.lnum
|
||||
: (int64_t)buflist_findlnum(buf));
|
||||
_("line %" PRId64),
|
||||
buf == curbuf ? (int64_t)curwin->w_cursor.lnum
|
||||
: (int64_t)buflist_findlnum(buf));
|
||||
msg_outtrans(IObuff);
|
||||
out_flush(); /* output one line at a time */
|
||||
ui_breakcheck();
|
||||
|
Reference in New Issue
Block a user