(menu_entries_cbs_ok.c) Cut down on more strcmps

This commit is contained in:
twinaphex 2015-06-05 10:17:25 +02:00
parent 4141a1eae8
commit 9d2de0bcbb
1 changed files with 15 additions and 15 deletions

View File

@ -1503,21 +1503,21 @@ void menu_entries_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,
) )
cbs->action_ok = action_ok_shader_parameters; cbs->action_ok = action_ok_shader_parameters;
else if ( else if (
!strcmp(label, "shader_options") || (hash == MENU_LABEL_SHADER_OPTIONS) ||
!strcmp(label, "video_options") || (hash == MENU_LABEL_VIDEO_OPTIONS) ||
!strcmp(label, "Input Settings") || !strcmp(label, "Input Settings") ||
!strcmp(label, "core_options") || (hash == MENU_LABEL_CORE_OPTIONS) ||
!strcmp(label, "core_cheat_options") || (hash == MENU_LABEL_CORE_CHEAT_OPTIONS) ||
!strcmp(label, "core_input_remapping_options") || (hash == MENU_LABEL_CORE_INPUT_REMAPPING_OPTIONS) ||
!strcmp(label, "core_information") || (hash == MENU_LABEL_CORE_INFORMATION) ||
!strcmp(label, "system_information") || (hash == MENU_LABEL_SYSTEM_INFORMATION) ||
!strcmp(label, "disk_options") || (hash == MENU_LABEL_DISK_OPTIONS) ||
!strcmp(label, "settings") || (hash == MENU_LABEL_SETTINGS) ||
!strcmp(label, "performance_counters") || (hash == MENU_LABEL_PERFORMANCE_COUNTERS) ||
!strcmp(label, "frontend_counters") || (hash == MENU_LABEL_FRONTEND_COUNTERS) ||
!strcmp(label, "core_counters") || (hash == MENU_LABEL_CORE_COUNTERS) ||
!strcmp(label, "management") || (hash == MENU_LABEL_MANAGEMENT) ||
!strcmp(label, "options") (hash == MENU_LABEL_OPTIONS)
) )
cbs->action_ok = action_ok_push_default; cbs->action_ok = action_ok_push_default;
else if ( else if (