From 4da3d6d87c83c70dae784da28deed9f980950e2f Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Tue, 8 Jul 2025 10:27:50 +0200 Subject: [PATCH] boxdraw: fix for rendering errors following commit f8e451e ref. #180 --- x.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/x.c b/x.c index e540322..0de0ac7 100644 --- a/x.c +++ b/x.c @@ -2309,13 +2309,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