diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-04-25 13:04:10 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-28 07:59:25 -0300 |
commit | 4d0dd14189c0f0dd4ad561d65d97aa3e1589102b (patch) | |
tree | f39168b6aa8be9c583e13e1477940383b10932b6 /src/ex_cmds.c | |
parent | e1943248855756174c445870716cc98ebf16b30e (diff) | |
download | rneovim-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/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 9aab97b7cc..0cbd4faccb 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4480,9 +4480,8 @@ do_sub_msg ( "%s", count_only ? _("1 match") : _("1 substitution")); else vim_snprintf_add((char *)msg_buf, sizeof(msg_buf), - count_only ? - _("%" PRId64 " matches") : - _("%" PRId64 " substitutions"), + count_only ? _("%" PRId64 " matches") + : _("%" PRId64 " substitutions"), (int64_t)sub_nsubs); if (sub_nlines == 1) vim_snprintf_add((char *)msg_buf, sizeof(msg_buf), |