diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-19 06:28:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-19 06:28:33 +0000 |
| commit | aabb7a7e8fc01fc5aa85fc08f451e1350ccb9f57 (patch) | |
| tree | c5d689fb54cbac2043213ddd9d7815b889431a76 /render.c | |
| parent | osc: commented out beginning of OSC 777 (diff) | |
render: attrs_to_font: const:ify
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |
