diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-10 15:46:58 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-10 15:46:58 +0100 |
commit | 26dd09ad5e86f4e2179be0181421bfab9a6b3b75 (patch) | |
tree | cb58485dbd7ff9741ecfe4f3687b6a27863ba442 /src/errors.h | |
parent | 82e079df814f7372e9579450730062b205449efa (diff) |
patch 9.1.0164: Internal error when passing invalid position to getregion()v9.1.0164
Problem: Internal error or crash when passing invalid position to
getregion().
Solution: Give an error for invalid position (zeertzjq).
closes: #14172
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h index 0dbc5a5719..6e7f28d899 100644 --- a/src/errors.h +++ b/src/errors.h @@ -2526,9 +2526,11 @@ EXTERN char e_invalid_action_str_2[] EXTERN char e_setting_v_str_to_value_with_wrong_type[] INIT(= N_("E963: Setting v:%s to value with wrong type")); #endif -#ifdef FEAT_PROP_POPUP +#if defined(FEAT_PROP_POPUP) || defined(FEAT_EVAL) EXTERN char_u e_invalid_column_number_nr[] INIT(= N_("E964: Invalid column number: %ld")); +#endif +#ifdef FEAT_PROP_POPUP EXTERN char e_missing_property_type_name[] INIT(= N_("E965: Missing property type name")); #endif |