comparison 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
comparison
equal deleted inserted replaced
20827:0b2d6030068c 20828:db18625d8134
3649 ? _("[Not edited]") : "", 3649 ? _("[Not edited]") : "",
3650 (curbuf->b_flags & BF_NEW) 3650 (curbuf->b_flags & BF_NEW)
3651 #ifdef FEAT_QUICKFIX 3651 #ifdef FEAT_QUICKFIX
3652 && !bt_dontwrite(curbuf) 3652 && !bt_dontwrite(curbuf)
3653 #endif 3653 #endif
3654 ? _("[New file]") : "", 3654 ? new_file_message() : "",
3655 (curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "", 3655 (curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "",
3656 curbuf->b_p_ro ? (shortmess(SHM_RO) ? _("[RO]") 3656 curbuf->b_p_ro ? (shortmess(SHM_RO) ? _("[RO]")
3657 : _("[readonly]")) : "", 3657 : _("[readonly]")) : "",
3658 (curbufIsChanged() || (curbuf->b_flags & BF_WRITE_MASK) 3658 (curbufIsChanged() || (curbuf->b_flags & BF_WRITE_MASK)
3659 || curbuf->b_p_ro) ? 3659 || curbuf->b_p_ro) ?