diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-18 02:43:45 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-18 02:43:45 (EDT) |
commit | c5da456687d8b51d8d2360cabc1966387ebc72b9 (patch) | |
tree | 23f97459ec1fcb4f4620e6985fa632e353e03a6f /src/font.c | |
parent | f0351693ac1558505cf15c61c3ea4a1f12c3d67b (diff) |
font_*(), text_*(), image_*(): Add const qualifiers
Diffstat (limited to 'src/font.c')
-rw-r--r-- | src/font.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -65,19 +65,19 @@ font_find(const char *name) } int -font_get_width(struct font *font) +font_get_width(const struct font *font) { return font->desc.width; } int -font_get_height(struct font *font) +font_get_height(const struct font *font) { return font->desc.height; } void -font_render(struct font *font, png_const_colorp fg, png_const_colorp bg, +font_render(const struct font *font, png_const_colorp fg, png_const_colorp bg, unsigned char ch, png_bytepp rows, int row, int col) { size_t y; |