aboutsummaryrefslogtreecommitdiff
path: root/box-drawing.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-29 09:40:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-01 20:09:36 +0000
commitcf0270c1ea6136bbb8eeca1b91319118317285c9 (patch)
tree6317029b52944dad3b130fc97bc2a33550f7e745 /box-drawing.c
parentbox-drawing: DOUBLE lines, U+2550-U+256C (diff)
box-drawing: make ‘term’ parameter const
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 15b6e5c6..fb6f8d1b 100644
--- a/box-drawing.c
+++ b/box-drawing.c
@@ -1512,7 +1512,7 @@ draw_glyph(wchar_t wc, uint8_t *buf, int width, int height, int stride, int dpi)
}
struct fcft_glyph *
-box_drawing(struct terminal *term, wchar_t wc)
+box_drawing(const struct terminal *term, wchar_t wc)
{
int width = term->cell_width;
int height = term->cell_height;