aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-29 09:44:27 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-01 20:09:36 +0000
commit705cb9cfb001a70f4204a6042e6f0b12032e9f38 (patch)
tree728b3bea700a4ad2f36db876c9a99c8e2d43fa22
parentbox-drawing: remove __attribute__((__const__)) from thickness() (diff)
box_drawing(): mark function as ‘cold’
-rw-r--r--box-drawing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/box-drawing.c b/box-drawing.c
index bca651da..0d51e704 100644
--- a/box-drawing.c
+++ b/box-drawing.c
@@ -1511,7 +1511,7 @@ draw_glyph(wchar_t wc, uint8_t *buf, int width, int height, int stride, int dpi)
}
}
-struct fcft_glyph *
+struct fcft_glyph * COLD
box_drawing(const struct terminal *term, wchar_t wc)
{
int width = term->cell_width;