mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-06 01:40:22 -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 *
|
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 width = term->cell_width;
|
||||||
int height = term->cell_height;
|
int height = term->cell_height;
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@
|
||||||
#include <fcft/fcft.h>
|
#include <fcft/fcft.h>
|
||||||
|
|
||||||
struct terminal;
|
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