summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.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/ex_docmd.c
parent9fa5dabedc4ed5af85773413e91c2fdbe4cb9f0a (diff)
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/ex_docmd.c')
-rw-r--r--src/ex_docmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 0273f899ae..1efefb1fb1 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -919,7 +919,7 @@ do_cmdline(
next_cmdline = vim_strsave(next_cmdline);
if (next_cmdline == NULL)
{
- emsg(_(e_outofmem));
+ emsg(_(e_out_of_memory));
retval = FAIL;
break;
}
@@ -6959,7 +6959,7 @@ do_exedit(
static void
ex_nogui(exarg_T *eap)
{
- eap->errmsg = _(e_nogvim);
+ eap->errmsg = _(e_gui_cannot_be_used_not_enabled_at_compile_time);
}
#endif