aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKikooDX <kikoodx@paranoici.org>2022-03-03 15:14:05 +0100
committerKikooDX <kikoodx@paranoici.org>2022-03-03 15:14:05 +0100
commit73f8d58c1aa3713001d99c734046f7ae28c205a3 (patch)
tree9d752c857b28788a50a1f19bd5132b13387436ec
parent2f6f0b858c253ec5eea1447b07801975c2d56ded (diff)
downloadlzy-73f8d58c1aa3713001d99c734046f7ae28c205a3.tar.gz
font init bugfix of shame
-rw-r--r--inc/lzy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/lzy.h b/inc/lzy.h
index 96002c4..82b2d9a 100644
--- a/inc/lzy.h
+++ b/inc/lzy.h
@@ -192,8 +192,8 @@ int LZY_Init(const char *title, int target_fps, const char *tset_path,
#endif
#ifdef LZY_GINT_FONT
extern bopti_image_t LZY_GINT_FONT;
- font_width = LZY_GINT_FONT.width / LZY_TILE_SIZE;
- font_height = LZY_GINT_FONT.height / LZY_TILE_SIZE;
+ font_width = LZY_GINT_FONT.width / LZY_CHR_WIDTH;
+ font_height = LZY_GINT_FONT.height / LZY_CHR_HEIGHT;
#endif
LZY_UNUSED(title);
LZY_UNUSED(tset_path);