summaryrefslogtreecommitdiffstats
path: root/src/typval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-04 19:57:55 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-04 19:57:55 +0000
commitd88be5be80f47826397d12ffc90150a443821f2b (patch)
treeab0149d75313cb223ece41b426fde97776bb5d39 /src/typval.c
parent6cac77016b1636e04073e8348b7cee02259ef928 (diff)
patch 8.2.4003: error messages are spread outv8.2.4003
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/typval.c')
-rw-r--r--src/typval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/typval.c b/src/typval.c
index fa0574dd08..be3a7b8f5c 100644
--- a/src/typval.c
+++ b/src/typval.c
@@ -221,7 +221,7 @@ tv_get_bool_or_number_chk(typval_T *varp, int *denote, int want_bool)
if (varp->v_type == VAR_BOOL)
emsg(_(e_using_bool_as_number));
else
- emsg(_("E611: Using a Special as a Number"));
+ emsg(_(e_using_special_as_number));
break;
}
return varp->vval.v_number == VVAL_TRUE ? 1 : 0;