From 690c5c2bc83f3d04bbb77492fc511f35a9e9fa61 Mon Sep 17 00:00:00 2001 From: twinaphex <libretro@gmail.com> Date: Tue, 9 Feb 2016 01:32:42 +0100 Subject: [PATCH] Cleanups --- menu/menu_display.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/menu/menu_display.c b/menu/menu_display.c index 2f32a34bea..865ea687de 100644 --- a/menu/menu_display.c +++ b/menu/menu_display.c @@ -149,9 +149,10 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data) static menu_display_draw_t draw_bak = NULL; static menu_display_draw_bg_t draw_bg_bak = NULL; static msg_queue_t *menu_display_msg_queue = NULL; - menu_display_t *disp = menu_display_get_ptr(); - menu_display_ctx_driver_t *menu_disp = menu_display_context_get_ptr(); settings_t *settings = config_get_ptr(); + menu_display_t *disp = menu_display_get_ptr(); + menu_display_ctx_driver_t *menu_disp = + menu_display_context_get_ptr(); switch (state) { @@ -178,7 +179,8 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data) menu_display_ctl(MENU_DISPLAY_CTL_FONT_MAIN_DEINIT, NULL); if (!font || !menu_display_font_init_first( - &menu_display_font_buf, video_driver_get_ptr(false), font->path, font->size)) + &menu_display_font_buf, + video_driver_get_ptr(false), font->path, font->size)) return false; menu_display_font_size = font->size;