From aabb7a7e8fc01fc5aa85fc08f451e1350ccb9f57 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 19 Dec 2019 07:28:33 +0100 Subject: render: attrs_to_font: const:ify --- render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render.c') diff --git a/render.c b/render.c index 942653b4..6918797c 100644 --- a/render.c +++ b/render.c @@ -22,7 +22,7 @@ #define max(x, y) ((x) > (y) ? (x) : (y)) struct font * -attrs_to_font(struct terminal *term, const struct attributes *attrs) +attrs_to_font(const struct terminal *term, const struct attributes *attrs) { int idx = attrs->italic << 1 | attrs->bold; return term->fonts[idx]; -- cgit v1.3