From cf0270c1ea6136bbb8eeca1b91319118317285c9 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 29 Dec 2020 10:40:58 +0100 Subject: box-drawing: make ‘term’ parameter const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- box-drawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'box-drawing.c') 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; -- cgit v1.3