summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 66b0050a65..f928412e85 100644
--- 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]")) : "",