From dc8168df129041dcc25e2d7b3123d07a0aa7cf9d Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Fri, 19 Dec 2025 22:36:49 +0900 Subject: [PATCH] fix --- src/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text.c b/src/text.c index a9ff6a0..c0e00c6 100644 --- a/src/text.c +++ b/src/text.c @@ -294,7 +294,7 @@ static int ttf_MwTextHeight(MwWidget handle, int count) { void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color) { if(strlen(text) == 0) return; #ifdef TTF - if(!MwGetInteger(handle, MwNbitmapFont) && ttf_MwDrawText(handle, point, text, bold, align, color)) + if(MwGetInteger(handle, MwNbitmapFont) || ttf_MwDrawText(handle, point, text, bold, align, color)) #endif bitmap_MwDrawText(handle, point, text, bold, align, color); }