This commit is contained in:
twinaphex 2016-02-29 02:54:46 +01:00
parent 042e4b0ba7
commit a8185f0b81

View File

@ -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)