Cleanups
This commit is contained in:
parent
042e4b0ba7
commit
a8185f0b81
|
@ -200,7 +200,7 @@ static int gl_get_message_width(void *data, const char *msg,
|
|||
unsigned msg_len = min(msg_len_full, MAX_MSG_LEN_CHUNK);
|
||||
int delta_x = 0;
|
||||
|
||||
if (!font || !font->font_driver)
|
||||
if (!font || !font->font_driver || !font->font_data)
|
||||
return 0;
|
||||
|
||||
while (msg_len_full)
|
||||
|
|
Loading…
Reference in New Issue