diff options
author | Gary Allen Vollink | 2017-09-14 15:30:02 -0400 |
---|---|---|
committer | Hiltjo Posthuma | 2017-09-15 11:27:13 +0200 |
commit | e023ad105717daf52786f514b8f80956c798a6ca (patch) | |
tree | 30a7824dacfd55bc613242033a514a3a27146426 /x.c | |
parent | a0ccf90092b5e1a805223fc63c7ba442fac286ee (diff) | |
download | aur-e023ad105717daf52786f514b8f80956c798a6ca.tar.gz |
Add an error for XftFontOpenPattern failure.
Diffstat (limited to 'x.c')
-rw-r--r-- | x.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |