mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4003: error messages are spread out
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user