mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
box-drawing: make ‘term’ parameter const
This commit is contained in:
parent
44f365bd00
commit
cf0270c1ea
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
#include <fcft/fcft.h>
|
||||
|
||||
struct terminal;
|
||||
struct fcft_glyph *box_drawing(struct terminal *term, wchar_t wc);
|
||||
struct fcft_glyph *box_drawing(const struct terminal *term, wchar_t wc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue