mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Use string_is_empty
This commit is contained in:
parent
91170722e6
commit
d53d1faad5
@ -476,7 +476,7 @@ static void gl_raster_font_render_msg(void *data, const char *msg,
|
|||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
const struct font_params *params = (const struct font_params*)userdata;
|
const struct font_params *params = (const struct font_params*)userdata;
|
||||||
|
|
||||||
if (!font || !msg || !*msg)
|
if (!font || string_is_empty(msg))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
gl = font->gl;
|
gl = font->gl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user