st

simple terminal

git clone https://9o.is/git/st.git

commit f5a3c323eef2400c7134d96975f9580636fd93f6
parent 7faefe1792527790e1d6ba38f0e1f15ca8b61c2c
Author: Gary Allen Vollink <gary@vollink.com>
Date:   Thu, 14 Sep 2017 15:30:02 -0400

Add an error for XftFontOpenPattern failure.

Diffstat:
Mx.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/x.c b/x.c @@ -1092,6 +1092,9 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs, const Glyph *glyphs, int len, int x frc[frclen].font = XftFontOpenPattern(xw.dpy, fontpattern); + if (!frc[frclen].font) + die("XftFontOpenPattern failed seeking fallback font: %s\n", + strerror(errno)); frc[frclen].flags = frcflags; frc[frclen].unicodep = rune;