summaryrefslogtreecommitdiffstats
path: root/src/hardcopy.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 21:26:16 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 21:26:16 +0000
commit1d423ef75fc8bce2edfd2aab61cc9beaa63e31aa (patch)
tree6db703ecd2dc317aa69c9c03f3130002a857e4af /src/hardcopy.c
parentb09feaa86ecc53b9b953710082496951776dc5c6 (diff)
patch 8.2.3987: error messages are spread outv8.2.3987
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/hardcopy.c')
-rw-r--r--src/hardcopy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardcopy.c b/src/hardcopy.c
index 190ca996ba..6b1974b2df 100644
--- a/src/hardcopy.c
+++ b/src/hardcopy.c
@@ -205,7 +205,7 @@ parse_list_options(
colonp = vim_strchr(stringp, ':');
if (colonp == NULL)
{
- ret = N_("E550: Missing colon");
+ ret = e_missing_colon_3;
break;
}
commap = vim_strchr(stringp, ',');
@@ -220,7 +220,7 @@ parse_list_options(
if (idx == table_size)
{
- ret = N_("E551: Illegal component");
+ ret = e_illegal_component;
break;
}
p = colonp + 1;
@@ -230,7 +230,7 @@ parse_list_options(
{
if (!VIM_ISDIGIT(*p))
{
- ret = N_("E552: digit expected");
+ ret = e_digit_expected_2;
break;
}