Browse Source

Add an error for XftFontOpenPattern failure.

master
Gary Allen Vollink 7 years ago
committed by Hiltjo Posthuma
parent
commit
b1338e91ed
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      x.c

+ 3
- 0
x.c View File

@ -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;


Loading…
Cancel
Save