From ae66caa98fdf91feaf3663bf5c3701f018736d50 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 27 Jun 2015 14:46:50 +0200 Subject: [PATCH] Pass label_hash to menu_cbs_init_bind_right_compare_type --- menu/cbs/menu_cbs_right.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/cbs/menu_cbs_right.c b/menu/cbs/menu_cbs_right.c index 6d64e3c249..4df547a22a 100644 --- a/menu/cbs/menu_cbs_right.c +++ b/menu/cbs/menu_cbs_right.c @@ -342,7 +342,7 @@ static int bind_right_generic(unsigned type, const char *label, } static int menu_cbs_init_bind_right_compare_type(menu_file_list_cbs_t *cbs, - unsigned type, uint32_t menu_label_hash) + unsigned type, uint32_t label_hash, uint32_t menu_label_hash) { if (type >= MENU_SETTINGS_SHADER_PARAMETER_0 && type <= MENU_SETTINGS_SHADER_PARAMETER_LAST) @@ -493,7 +493,7 @@ int menu_cbs_init_bind_right(menu_file_list_cbs_t *cbs, if (menu_cbs_init_bind_right_compare_label(cbs, label, label_hash, menu_label_hash, elem0) == 0) return 0; - if (menu_cbs_init_bind_right_compare_type(cbs, type, menu_label_hash) == 0) + if (menu_cbs_init_bind_right_compare_type(cbs, type, label_hash, menu_label_hash) == 0) return 0; return -1;