src/font: oops, that really should be image_filename

current
Síle Ekaterin Liszka 2023-11-27 16:31:48 -08:00
parent fd80931624
commit dc842236ce
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ font_t font_create(char *font_name, char *filename) {
toml_table_t *mapping = toml_table_in(table, "map"); toml_table_t *mapping = toml_table_in(table, "map");
font.name = name.u.s; 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.bits_per_pixel = bpp.u.i;
font.width = width.u.i; font.width = width.u.i;
font.height = height.u.i; font.height = height.u.i;

View File

@ -8,7 +8,7 @@ typedef struct map_t {
typedef struct { typedef struct {
char *name; char *name;
char *toml_filename; char *image_filename;
unsigned char bits_per_pixel; unsigned char bits_per_pixel;
unsigned int width; unsigned int width;
unsigned int height; unsigned int height;