From 73f8d58c1aa3713001d99c734046f7ae28c205a3 Mon Sep 17 00:00:00 2001 From: KikooDX Date: Thu, 3 Mar 2022 15:14:05 +0100 Subject: [PATCH] font init bugfix of shame --- inc/lzy.h | 4 ++-- 1 file 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);