summaryrefslogtreecommitdiffstats
path: root/src/cmdhist.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 15:58:22 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 15:58:22 +0000
commit74409f62790a93daf0965c71da01ff76aa0fa5a5 (patch)
treeece55c806dc6fe451d24af66008ae1444d81d73d /src/cmdhist.c
parent56200eed62e59ad831f6564dcafe346e6f97ac20 (diff)
patch 8.2.3970: error messages are spread outv8.2.3970
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/cmdhist.c')
-rw-r--r--src/cmdhist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmdhist.c b/src/cmdhist.c
index 0ac3ff6949..8057344c13 100644
--- a/src/cmdhist.c
+++ b/src/cmdhist.c
@@ -724,7 +724,7 @@ ex_history(exarg_T *eap)
else
{
*end = i;
- semsg(_(e_trailing_arg), arg);
+ semsg(_(e_trailing_characters_str), arg);
return;
}
}
@@ -736,7 +736,7 @@ ex_history(exarg_T *eap)
end = arg;
if (!get_list_range(&end, &hisidx1, &hisidx2) || *end != NUL)
{
- semsg(_(e_trailing_arg), end);
+ semsg(_(e_trailing_characters_str), end);
return;
}