From f87d3de2cfce8729ec0934a81231691c9290095b Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Sun, 10 Mar 2024 10:05:54 +0100 Subject: [PATCH] wide glyphs: fixing compilation error following code refactoring --- x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x.c b/x.c index e152f24..4d01817 100644 --- a/x.c +++ b/x.c @@ -2976,7 +2976,7 @@ xdrawline(Line line, int x1, int y1, int x2) new.mode ^= ATTR_REVERSE; #endif // SELECTION_COLORS_PATCH if (i > 0 && ATTRCMP(base, new)) { - xdrawglyphfontspecs(specs, base, i, ox, y1, dmode); + xdrawglyphfontspecs(specs, base, i, ox, y1, dmode, x - ox); specs += i; numspecs -= i; i = 0; @@ -2988,7 +2988,7 @@ xdrawline(Line line, int x1, int y1, int x2) i++; } if (i > 0) - xdrawglyphfontspecs(specs, base, i, ox, y1, dmode); + xdrawglyphfontspecs(specs, base, i, ox, y1, dmode, x2 - ox); } } #else // !WIDE_GLYPHS_PATCH and !LIGATURES_PATCH