(menu_cbs_select.c) Update
This commit is contained in:
parent
c16299b6ad
commit
a805044aa3
|
@ -102,8 +102,6 @@ static int menu_cbs_init_bind_select_compare_type(
|
||||||
else if (type >= MENU_SETTINGS_INPUT_DESC_BEGIN
|
else if (type >= MENU_SETTINGS_INPUT_DESC_BEGIN
|
||||||
&& type <= MENU_SETTINGS_INPUT_DESC_END)
|
&& type <= MENU_SETTINGS_INPUT_DESC_END)
|
||||||
cbs->action_select = action_select_input_desc;
|
cbs->action_select = action_select_input_desc;
|
||||||
else if ((type >= MENU_SETTINGS_CORE_OPTION_START))
|
|
||||||
cbs->action_select = action_select_core_setting;
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
|
@ -149,6 +147,12 @@ int menu_cbs_init_bind_select(menu_file_list_cbs_t *cbs,
|
||||||
|
|
||||||
cbs->action_select = action_select_default;
|
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)
|
if (menu_cbs_init_bind_select_compare_label(cbs, label, label_hash, elem0) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue