0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4022: two error messages in the wrong file

Problem:    Two error messages in the wrong file.
Solution:   Use the error message from errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-06 21:41:11 +00:00
parent 2ef01d929d
commit 11de43d2d4
3 changed files with 6 additions and 4 deletions

View File

@@ -618,7 +618,7 @@ parse_addr_type_arg(
for (i = 0; err[i] != NUL && !VIM_ISWHITE(err[i]); i++)
;
err[i] = NUL;
semsg(_("E180: Invalid address type value: %s"), err);
semsg(_(e_invalid_address_type_value_str), err);
return FAIL;
}