summaryrefslogtreecommitdiffstats
path: root/src/gui_x11.c
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_x11.c
parentf1474d801bbdb73406dd3d1f931f515f99e86dfa (diff)
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_x11.c')
-rw-r--r--src/gui_x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c
index 92bbfc36fa..2e871770fe 100644
--- a/src/gui_x11.c
+++ b/src/gui_x11.c
@@ -1887,7 +1887,7 @@ gui_mch_get_font(char_u *name, int giveErrorIfMissing)
if (font == NULL)
{
if (giveErrorIfMissing)
- semsg(_(e_font), name);
+ semsg(_(e_unknown_font_str), name);
return NOFONT;
}
@@ -1911,7 +1911,7 @@ gui_mch_get_font(char_u *name, int giveErrorIfMissing)
if (font->max_bounds.width != font->min_bounds.width)
{
- semsg(_(e_fontwidth), name);
+ semsg(_(e_font_str_is_not_fixed_width), name);
XFreeFont(gui.dpy, font);
return NOFONT;
}
@@ -2072,7 +2072,7 @@ gui_mch_get_fontset(
if (fontset == NULL)
{
if (giveErrorIfMissing)
- semsg(_(e_fontset), name);
+ semsg(_(e_unknown_fontset_str), name);
return NOFONTSET;
}