1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-04 22:20:25 +00:00

Same thing for menu_cbs_right.c

This commit is contained in:
twinaphex 2015-08-17 19:39:12 +02:00
parent 132b382545
commit f1dfdd653a

@ -419,13 +419,12 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
const char *label, uint32_t label_hash, uint32_t menu_label_hash, const char *elem0) const char *label, uint32_t label_hash, uint32_t menu_label_hash, const char *elem0)
{ {
unsigned i; unsigned i;
rarch_setting_t *setting = menu_setting_find(label);
if (setting) if (cbs->setting)
{ {
uint32_t parent_group_hash = menu_hash_calculate(setting->parent_group); uint32_t parent_group_hash = menu_hash_calculate(cbs->setting->parent_group);
if ((parent_group_hash == MENU_LABEL_SETTINGS) && (setting->type == ST_GROUP)) if ((parent_group_hash == MENU_LABEL_SETTINGS) && (cbs->setting->type == ST_GROUP))
{ {
cbs->action_right = action_right_scroll; cbs->action_right = action_right_scroll;
return 0; return 0;