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;