summaryrefslogtreecommitdiff
path: root/src/digraph.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/digraph.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/digraph.c')
-rw-r--r--src/digraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/digraph.c b/src/digraph.c
index 9b1836eef..b354f2d5c 100644
--- a/src/digraph.c
+++ b/src/digraph.c
@@ -2074,7 +2074,7 @@ putdigraph(char_u *str)
str = skipwhite(str);
if (!VIM_ISDIGIT(*str))
{
- emsg(_(e_number_exp));
+ emsg(_(e_number_expected));
return;
}
n = getdigits(&str);
@@ -2571,7 +2571,7 @@ keymap_init(void)
buflen = STRLEN(curbuf->b_p_keymap) + STRLEN(p_enc) + 14;
buf = alloc(buflen);
if (buf == NULL)
- return e_outofmem;
+ return e_out_of_memory;
// try finding "keymap/'keymap'_'encoding'.vim" in 'runtimepath'
vim_snprintf((char *)buf, buflen, "keymap/%s_%s.vim",