aboutsummaryrefslogtreecommitdiff
path: root/box-drawing.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-10-11 14:31:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-10-11 14:31:53 +0000
commit6e58bd835126c90d1bbd38edad3ef769068ca368 (patch)
tree16ca700c8bb42ab78f141467c811fdf24107e0b5 /box-drawing.c
parentrender: better description of why we disable transparency in fullscreen (diff)
parentterm: cache font baseline (diff)
Merge branch 'fix-font-baseline-calculation'
Closes #1511 Closes #1463
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 07f415cb..cf351b31 100644
--- a/box-drawing.c
+++ b/box-drawing.c
@@ -3011,7 +3011,7 @@ box_drawing(const struct terminal *term, char32_t wc)
.cols = 1,
.pix = buf.pix,
.x = -term->font_x_ofs,
- .y = term_font_baseline(term),
+ .y = term->font_baseline,
.width = width,
.height = height,
.advance = {