securityos/public/Users/Public/Documents/Dotfiles/Gentoo/st/x.c.rej

18 lines
538 B
Plaintext
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
--- x.c Tue Mar 20 00:28:57 2018
+++ x.c Tue Mar 20 00:29:02 2018
@@ -1373,12 +1375,12 @@
/* Render underline and strikethrough. */
if (base.mode & ATTR_UNDERLINE) {
- XftDrawRect(xw.draw, fg, winx, winy + dc.font.ascent + 1,
+ XftDrawRect(xw.draw, fg, winx, winy + win.cyo + dc.font.ascent + 1,
width, 1);
}
if (base.mode & ATTR_STRUCK) {
- XftDrawRect(xw.draw, fg, winx, winy + 2 * dc.font.ascent / 3,
+ XftDrawRect(xw.draw, fg, winx, winy + win.cyo + 2 * dc.font.ascent / 3,
width, 1);
}