summaryrefslogtreecommitdiffstats
path: root/src/typval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 19:25:26 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 19:25:26 +0000
commitac78dd4a352196ca4e6640f8e4caaf126afd49e3 (patch)
treec741cbf5a8f33503e42af2294afdbd4bf15b0ae9 /src/typval.c
parent3d0da09bb2d31afc611bf1c4b35796739d87ed63 (diff)
patch 8.2.3985: error messages are spread outv8.2.3985
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 1e922dc723..fa0574dd08 100644
--- a/src/typval.c
+++ b/src/typval.c
@@ -320,7 +320,7 @@ tv_get_float_chk(typval_T *varp, int *error)
emsg(_("E894: Using a Dictionary as a Float"));
break;
case VAR_BOOL:
- emsg(_("E362: Using a boolean value as a Float"));
+ emsg(_(e_using_boolean_valud_as_float));
break;
case VAR_SPECIAL:
emsg(_("E907: Using a special value as a Float"));