mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +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
@@ -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),
|
||||
|
Reference in New Issue
Block a user