summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-20 21:07:36 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-20 21:07:36 +0200
commite29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3 (patch)
treeeb8bd787e936db02a1617fb033aed2e224b3bbd3 /src/session.c
parent9fa5dabedc4ed5af85773413e91c2fdbe4cb9f0a (diff)
downloadvim-git-e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3.tar.gz
patch 8.2.3190: error messages are spread outv8.2.3190
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index 8edf0dade..03b57f0e1 100644
--- a/src/session.c
+++ b/src/session.c
@@ -977,7 +977,7 @@ get_view_file(int c)
if (curbuf->b_ffname == NULL)
{
- emsg(_(e_noname));
+ emsg(_(e_no_file_name));
return NULL;
}
sname = home_replace_save(NULL, curbuf->b_ffname);