From a805044aa3a65ab73bf258206cf9169d4aa9ccbd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 15 Aug 2015 23:22:01 +0200 Subject: [PATCH] (menu_cbs_select.c) Update --- menu/cbs/menu_cbs_select.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/menu/cbs/menu_cbs_select.c b/menu/cbs/menu_cbs_select.c index 39a0fa0c8d..c7ac97639f 100644 --- a/menu/cbs/menu_cbs_select.c +++ b/menu/cbs/menu_cbs_select.c @@ -102,8 +102,6 @@ static int menu_cbs_init_bind_select_compare_type( else if (type >= MENU_SETTINGS_INPUT_DESC_BEGIN && type <= MENU_SETTINGS_INPUT_DESC_END) cbs->action_select = action_select_input_desc; - else if ((type >= MENU_SETTINGS_CORE_OPTION_START)) - cbs->action_select = action_select_core_setting; else { switch (type) @@ -149,6 +147,12 @@ int menu_cbs_init_bind_select(menu_file_list_cbs_t *cbs, cbs->action_select = action_select_default; + if ((type >= MENU_SETTINGS_CORE_OPTION_START)) + { + cbs->action_select = action_select_core_setting; + return 0; + } + if (menu_cbs_init_bind_select_compare_label(cbs, label, label_hash, elem0) == 0) return 0;