commit f87d3de2cfce8729ec0934a81231691c9290095b
parent 3564593563b2afe48aea1e8a58e2bcf7aacc4363
Author: Bakkeby <bakkeby@gmail.com>
Date: Sun, 10 Mar 2024 10:05:54 +0100
wide glyphs: fixing compilation error following code refactoring
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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