From b6972f99263bbd88cd2eb5b11c91ef4d803fe60f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 16 Jun 2016 13:37:33 +0200 Subject: [PATCH] Cleanup --- menu/cbs/menu_cbs_ok.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 17ff1b6777..c11ae68f99 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -877,17 +877,15 @@ static int generic_action_ok(const char *path, } break; case ACTION_OK_LOAD_CONFIG_FILE: - { - flush_char = NULL; - flush_type = MENU_SETTINGS; - menu_display_set_msg_force(true); + flush_char = NULL; + flush_type = MENU_SETTINGS; + menu_display_set_msg_force(true); - if (config_replace(action_path)) - { - bool pending_push = false; - menu_navigation_ctl(MENU_NAVIGATION_CTL_CLEAR, &pending_push); - ret = -1; - } + if (config_replace(action_path)) + { + bool pending_push = false; + menu_navigation_ctl(MENU_NAVIGATION_CTL_CLEAR, &pending_push); + ret = -1; } break; #ifdef HAVE_SHADER_MANAGER