diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-05 14:10:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-05 14:10:13 +0200 |
commit | 3f40ce78f5c178d15871bd784ed878c78f0b8a44 (patch) | |
tree | cb2327e80d60d61e31698721782e8b37187f5bfd /src/fileio.c | |
parent | fb9d5c51c8b5b44863f974e1adbee9ae330e75ff (diff) | |
download | vim-git-3f40ce78f5c178d15871bd784ed878c78f0b8a44.tar.gz |
patch 8.2.1128: the write message mentions characters, but it's bytesv8.2.1128
Problem: The write message mentions characters, but it's actually bytes.
Solution: Change "C" to "B" and "characters" to "bytes".
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index 81a502665..e46231029 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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); } } |