summaryrefslogtreecommitdiff
path: root/x.c.rej
diff options
context:
space:
mode:
Diffstat (limited to 'x.c.rej')
-rw-r--r--x.c.rej17
1 files changed, 17 insertions, 0 deletions
diff --git a/x.c.rej b/x.c.rej
new file mode 100644
index 0000000..386489c
--- /dev/null
+++ b/x.c.rej
@@ -0,0 +1,17 @@
+--- 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);
+ }
+