From 5b0671d5722feb582f609771527915ae0b6e0994 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 26 Sep 2015 23:38:34 +0200 Subject: [PATCH] Cleanup --- menu/drivers/glui.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/menu/drivers/glui.c b/menu/drivers/glui.c index 5f86e174ad..c5e615aa68 100644 --- a/menu/drivers/glui.c +++ b/menu/drivers/glui.c @@ -556,10 +556,8 @@ static void glui_allocate_white_texture(glui_handle_t *glui) static void glui_font(menu_handle_t *menu) { int font_size; - const char *font_path = NULL; settings_t *settings = config_get_ptr(); - - font_path = settings->video.font_enable ? settings->video.font_path : NULL; + const char *font_path = settings->video.font_enable ? settings->video.font_path : NULL; menu_display_ctl(MENU_DISPLAY_CTL_FONT_SIZE, &font_size);