summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-12 22:31:00 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-12 22:31:00 +0200
commit722e505d1a55dfde5ab62241d10da91d2e10c3c1 (patch)
treeb8de9ede4accb9e1fdcafa7a380347c1043ae186 /src/fileio.c
parent5055c56cfbedc6326c607d40c7a1241682f7675e (diff)
downloadvim-git-722e505d1a55dfde5ab62241d10da91d2e10c3c1.tar.gz
patch 8.2.0966: 'shortmess' flag "n" not used in two placesv8.2.0966
Problem: 'shortmess' flag "n" not used in two places. Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245, closes #6244)
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 06a4c51a3..3896ba8a6 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -506,7 +506,8 @@ readfile(
}
}
if (dir_of_file_exists(fname))
- filemess(curbuf, sfname, (char_u *)_("[New File]"), 0);
+ filemess(curbuf, sfname,
+ (char_u *)new_file_message(), 0);
else
filemess(curbuf, sfname,
(char_u *)_("[New DIRECTORY]"), 0);