aboutsummaryrefslogtreecommitdiff
path: root/box-drawing.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-05 13:00:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-17 15:58:29 +0000
commite03257d3429279bc54d932a8a3d74acbb06fd07a (patch)
tree0266b71fa4d5e0863962bbeb7b2bfc6b4633cc12 /box-drawing.c
parentbox-drawing: include pixman image in the buffer we’re passing around (diff)
box-drawing: U+256C - BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL: add missing corner
The inner corner, where the upper/left lines meet, were missing
Diffstat (limited to 'box-drawing.c')
-rw-r--r--box-drawing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/box-drawing.c b/box-drawing.c
index 2e387582..df5db54f 100644
--- a/box-drawing.c
+++ b/box-drawing.c
@@ -1210,7 +1210,7 @@ draw_box_drawings_double_vertical_and_horizontal(struct buf *buf)
hline(0, vmid, hmid + 2 * thick, thick);
hline(vmid + 2 * thick, buf->width, hmid + 2 * thick, thick);
- vline(0, hmid, vmid, thick);
+ vline(0, hmid + thick, vmid, thick);
vline(0, hmid, vmid + 2 * thick, thick);
vline(hmid + 2 * thick, buf->height, vmid, thick);
vline(hmid + 2 * thick, buf->height, vmid + 2 * thick, thick);