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

View File

@ -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)
{
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;
return 0;