improvement
This commit is contained in:
parent
0c8715ec9f
commit
f9c0ec987e
2 changed files with 6 additions and 4 deletions
|
|
@ -292,6 +292,7 @@ static int ttf_MwTextHeight(MwWidget handle, int count) {
|
|||
#endif
|
||||
|
||||
void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color) {
|
||||
if(strlen(text) == 0) return;
|
||||
#ifdef TTF
|
||||
if(ttf_MwDrawText(handle, point, text, bold, align, color))
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue