boxdraw: fix for rendering errors following commit f8e451e ref. #180

This commit is contained in:
Bakkeby 2025-07-08 10:27:50 +02:00
parent 43d9be991b
commit dd9784883f

7
x.c
View file

@ -2262,13 +2262,14 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
r.width = width;
XftDrawSetClipRectangles(xw.draw, winx, winy, &r, 1);
#endif // WIDE_GLYPHS_PATCH
#if BOXDRAW_PATCH
}
#endif // BOXDRAW_PATCH
/* Render the glyphs. */
XftDrawGlyphFontSpec(xw.draw, fg, specs, len);
#if BOXDRAW_PATCH
}
#endif // BOXDRAW_PATCH
/* Render underline and strikethrough. */
if (base.mode & ATTR_UNDERLINE) {
#if UNDERCURL_PATCH