X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=x.c;h=191e5dc7a4652088c878dab30375ff33b08cf93d;hb=b1338e91ed632adbcd08388de37e46cf25326e01;hp=fbfd35043b7652301079ce3ccfad2e7bcd698c2d;hpb=b2ac91775302fa4b8ce462a6e7bcfffa93923471;p=st.git diff --git a/x.c b/x.c index fbfd350..191e5dc 100644 --- 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;