From 1834bad53c7fcc8b372cabafb6421bc8942cac79 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 15 Oct 2014 19:44:01 +0200 Subject: [PATCH] Simplify menu_common_type_is --- frontend/menu/menu_common.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/menu/menu_common.c b/frontend/menu/menu_common.c index f47c764614..ae5f015751 100644 --- a/frontend/menu/menu_common.c +++ b/frontend/menu/menu_common.c @@ -445,10 +445,6 @@ unsigned menu_common_type_is(const char *label, unsigned type) { if ( !strcmp(label, "video_shader_pass") || - !strcmp(label, "video_shader_filter_pass") || - !strcmp(label, "video_shader_scale_pass") || - !strcmp(label, "video_shader_default_filter") || - !strcmp(label, "video_shader_num_passes") || !strcmp(label, "video_shader_preset") ) return MENU_SETTINGS_SHADER_OPTIONS;