mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 03:13:28 +00:00
fix
This commit is contained in:
@@ -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) {
|
void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color) {
|
||||||
if(strlen(text) == 0) return;
|
if(strlen(text) == 0) return;
|
||||||
#ifdef TTF
|
#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
|
#endif
|
||||||
bitmap_MwDrawText(handle, point, text, bold, align, color);
|
bitmap_MwDrawText(handle, point, text, bold, align, color);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user