Mercurial > vim
diff src/buffer.c @ 20828:db18625d8134 v8.2.0966
patch 8.2.0966: 'shortmess' flag "n" not used in two places
Commit: https://github.com/vim/vim/commit/722e505d1a55dfde5ab62241d10da91d2e10c3c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 12 22:31:00 2020 +0200
patch 8.2.0966: 'shortmess' flag "n" not used in two places
Problem: 'shortmess' flag "n" not used in two places.
Solution: Make use of the "n" flag consistent. (Nick Jensen, closes https://github.com/vim/vim/issues/6245,
closes #6244)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Jun 2020 22:45:04 +0200 |
parents | ed00f0fbdaef |
children | 3af71cbcfdbe |
line wrap: on
line diff
--- a/src/buffer.c +++ b/src/buffer.c @@ -3651,7 +3651,7 @@ fileinfo( #ifdef FEAT_QUICKFIX && !bt_dontwrite(curbuf) #endif - ? _("[New file]") : "", + ? new_file_message() : "", (curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "", curbuf->b_p_ro ? (shortmess(SHM_RO) ? _("[RO]") : _("[readonly]")) : "",