mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
(menu_entries_cbs_ok.c) Cut down on more strcmps
This commit is contained in:
parent
06918c0749
commit
df1c7d22f3
@ -1525,9 +1525,9 @@ void menu_entries_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,
|
||||
!strcmp(label, "detect_core_list")
|
||||
)
|
||||
cbs->action_ok = action_ok_push_content_list;
|
||||
else if (!strcmp(label, "history_list") ||
|
||||
!strcmp(label, "cursor_manager_list") ||
|
||||
!strcmp(label, "database_manager_list") ||
|
||||
else if ((hash == MENU_LABEL_HISTORY_LIST) ||
|
||||
(hash == MENU_LABEL_CURSOR_MANAGER_LIST) ||
|
||||
(hash == MENU_LABEL_DATABASE_MANAGER_LIST) ||
|
||||
(setting && setting->browser_selection_type == ST_DIR)
|
||||
)
|
||||
cbs->action_ok = action_ok_push_generic_list;
|
||||
|
Loading…
x
Reference in New Issue
Block a user