sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 97720f9277a652f9bbb8cfc225f0d57af70253af
parent d6569518bd20904230fe0e81f0320fc609a8aa40
Author: Avi Halachmi (:avih) <avihpit@yahoo.com>
Date:   Sat,  3 Nov 2018 18:55:38 +0200

[st][patch] boxdraw: add parenthesis suppress warning

Good thing the site was not yet regenerated with boxdraw, so the file
was not yet public, hence filename remains the same.

Diffstat:
st.suckless.org/patches/boxdraw/st-boxdraw-2018-11-01-30ec9a3.patch | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/st.suckless.org/patches/boxdraw/st-boxdraw-2018-11-01-30ec9a3.patch b/st.suckless.org/patches/boxdraw/st-boxdraw-2018-11-01-30ec9a3.patch @@ -1,4 +1,4 @@ -From 8c02fe1f2bf5507a062f699fc2d7c25b14e39a08 Mon Sep 17 00:00:00 2001 +From 1630b7016d26c266d004f38ecfef2c4b708aa9a6 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" <avihpit@yahoo.com> Date: Fri, 26 Oct 2018 13:11:20 +0300 Subject: [PATCH] boxdraw: custom-draw U+25XX lines/blocks to align seamlessly @@ -51,7 +51,7 @@ index 0b3cecd..8d3af33 100644 diff --git a/boxdraw.c b/boxdraw.c new file mode 100644 -index 0000000..9190b16 +index 0000000..357250f --- /dev/null +++ b/boxdraw.c @@ -0,0 +1,141 @@ @@ -152,7 +152,7 @@ index 0000000..9190b16 + int multi_light = light & (light - 1); + int multi_double = double_ & (double_ - 1); + /* light crosses double only at DH+LV, DV+LH (ref. shapes) */ -+ int d = arc || multi_double && !multi_light ? -s : 0; ++ int d = arc || (multi_double && !multi_light) ? -s : 0; + + if (bd & LL) + XftDrawRect(xd, fg, x, y + h2, w2 + s + d, s);