aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-04-25 13:04:10 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-28 07:59:25 -0300
commit4d0dd14189c0f0dd4ad561d65d97aa3e1589102b (patch)
treef39168b6aa8be9c583e13e1477940383b10932b6 /src/buffer.c
parente1943248855756174c445870716cc98ebf16b30e (diff)
downloadrneovim-4d0dd14189c0f0dd4ad561d65d97aa3e1589102b.tar.gz
rneovim-4d0dd14189c0f0dd4ad561d65d97aa3e1589102b.tar.bz2
rneovim-4d0dd14189c0f0dd4ad561d65d97aa3e1589102b.zip
Use portable format specifiers: Improve arguments formatting.
At some places, printf-like function's arguments styling could be improved to enhance readability.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index dfa7ecb6ee..8f856e9dc6 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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();