Use string_is_empty

This commit is contained in:
twinaphex 2016-09-30 09:00:04 +02:00
parent 91170722e6
commit d53d1faad5

View File

@ -476,7 +476,7 @@ static void gl_raster_font_render_msg(void *data, const char *msg,
settings_t *settings = config_get_ptr();
const struct font_params *params = (const struct font_params*)userdata;
if (!font || !msg || !*msg)
if (!font || string_is_empty(msg))
return;
gl = font->gl;