From dc842236ce4c0f9250172d0f6b61bc2bf226740d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=ADle=20Ekaterin=20Liszka?= Date: Mon, 27 Nov 2023 16:31:48 -0800 Subject: [PATCH] src/font: oops, that really should be image_filename --- src/font.c | 2 +- src/font.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/font.c b/src/font.c index d0c887d..e5ddbf2 100644 --- a/src/font.c +++ b/src/font.c @@ -38,7 +38,7 @@ font_t font_create(char *font_name, char *filename) { toml_table_t *mapping = toml_table_in(table, "map"); font.name = name.u.s; - font.toml_filename = image_filename.u.s; + font.image_filename = image_filename.u.s; font.bits_per_pixel = bpp.u.i; font.width = width.u.i; font.height = height.u.i; diff --git a/src/font.h b/src/font.h index 0b6c39f..a7e77e6 100644 --- a/src/font.h +++ b/src/font.h @@ -8,7 +8,7 @@ typedef struct map_t { typedef struct { char *name; - char *toml_filename; + char *image_filename; unsigned char bits_per_pixel; unsigned int width; unsigned int height;