From 632039f985ec44d84a9430fc88b884546ac284c0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 25 Apr 2017 13:28:42 +0200 Subject: [PATCH] Cleanups --- gfx/drivers_font/gl_raster_font.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/drivers_font/gl_raster_font.c b/gfx/drivers_font/gl_raster_font.c index af31a1ea7e..9de3b8dce4 100644 --- a/gfx/drivers_font/gl_raster_font.c +++ b/gfx/drivers_font/gl_raster_font.c @@ -472,13 +472,13 @@ static void gl_raster_font_render_msg( drop_alpha = 1.0f; } - if (font && font->block) + if (font->block) font->block->fullscreen = full_screen; else gl_raster_font_setup_viewport(width, height, font, full_screen); - if (font && !string_is_empty(msg) && font->gl - && font->font_data && font->font_driver) + if (!string_is_empty(msg) && font->gl + && font->font_data && font->font_driver) { if (drop_x || drop_y) {