summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-31 18:49:43 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-31 18:49:43 +0000
commit6d0570117ac86b7979bf249de5741088212d6e17 (patch)
tree225e3162570358ed40ac31407ec965d2a560d8bf /src/getchar.c
parentef089f50f9d6685c7a0ab94f9133576d7beec32b (diff)
patch 8.2.3959: error messages are spread outv8.2.3959
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 102eb2f167..209ee06f07 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -208,7 +208,7 @@ add_buff(
}
else if (buf->bh_curr == NULL) // buffer has already been read
{
- iemsg(_("E222: Add to read buffer"));
+ iemsg(_(e_add_to_internal_buffer_that_was_already_read_from));
return;
}
else if (buf->bh_index != 0)
@@ -2758,7 +2758,7 @@ handle_mapping(
*/
if (++*mapdepth >= p_mmd)
{
- emsg(_("E223: recursive mapping"));
+ emsg(_(e_recursive_mapping));
if (State & CMDLINE)
redrawcmdline();
else