mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.2.1128: the write message mentions characters, but it's bytes
Problem: The write message mentions characters, but it's actually bytes. Solution: Change "C" to "B" and "characters" to "bytes".
This commit is contained in:
@@ -3039,13 +3039,13 @@ msg_add_lines(
|
||||
*p++ = ' ';
|
||||
if (shortmess(SHM_LINES))
|
||||
vim_snprintf((char *)p, IOSIZE - (p - IObuff),
|
||||
"%ldL, %lldC", lnum, (varnumber_T)nchars);
|
||||
"%ldL, %lldB", lnum, (varnumber_T)nchars);
|
||||
else
|
||||
{
|
||||
sprintf((char *)p, NGETTEXT("%ld line, ", "%ld lines, ", lnum), lnum);
|
||||
p += STRLEN(p);
|
||||
vim_snprintf((char *)p, IOSIZE - (p - IObuff),
|
||||
NGETTEXT("%lld character", "%lld characters", nchars),
|
||||
NGETTEXT("%lld byte", "%lld bytes", nchars),
|
||||
(varnumber_T)nchars);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user