From 677658ae49de31fe2e5b1fa6d93fdfab85a4362e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 5 Jan 2022 16:09:06 +0000 Subject: patch 8.2.4008: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h. --- src/typval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/typval.c') diff --git a/src/typval.c b/src/typval.c index 2ffc4ab08..564cc50e3 100644 --- a/src/typval.c +++ b/src/typval.c @@ -209,7 +209,7 @@ tv_get_bool_or_number_chk(typval_T *varp, int *denote, int want_bool) STR2NR_ALL, &n, NULL, 0, FALSE); return n; case VAR_LIST: - emsg(_("E745: Using a List as a Number")); + emsg(_(e_using_list_as_number)); break; case VAR_DICT: emsg(_(e_using_dictionary_as_number)); -- cgit v1.2.1