aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-12-19 06:28:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-12-19 06:28:33 +0000
commitaabb7a7e8fc01fc5aa85fc08f451e1350ccb9f57 (patch)
treec5d689fb54cbac2043213ddd9d7815b889431a76 /render.c
parentosc: commented out beginning of OSC 777 (diff)
render: attrs_to_font: const:ify
Diffstat (limited to 'render.c')
-rw-r--r--render.c2
1 files changed, 1 insertions, 1 deletions
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];