summaryrefslogtreecommitdiff
path: root/src/gui_haiku.cc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-31 22:49:24 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-31 22:49:24 +0000
commit436b5adc9770a2568209dd5ab1f98bd1afc91898 (patch)
tree623dc85ee9a396b16f939f44d38138f882edc229 /src/gui_haiku.cc
parentf1474d801bbdb73406dd3d1f931f515f99e86dfa (diff)
downloadvim-git-436b5adc9770a2568209dd5ab1f98bd1afc91898.tar.gz
patch 8.2.3961: error messages are spread outv8.2.3961
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/gui_haiku.cc')
-rw-r--r--src/gui_haiku.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_haiku.cc b/src/gui_haiku.cc
index 6d973c565..1dd29b760 100644
--- a/src/gui_haiku.cc
+++ b/src/gui_haiku.cc
@@ -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;
}