0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.3961: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more errors to errors.h.
This commit is contained in:
Bram Moolenaar
2021-12-31 22:49:24 +00:00
parent f1474d801b
commit 436b5adc97
62 changed files with 427 additions and 403 deletions

View File

@@ -3847,7 +3847,7 @@ gui_mch_get_font(
if (name == 0 && be_fixed_font == 0) {
if (giveErrorIfMissing)
semsg(_(e_font), name);
semsg(_(e_unknown_font_str), name);
return NOFONT;
}
@@ -3914,7 +3914,7 @@ gui_mch_get_font(
if (count_font_styles(family) <= 0) {
if (giveErrorIfMissing)
semsg(_(e_font), font->name);
semsg(_(e_unknown_font_str), font->name);
delete font;
return NOFONT;
}