diff --git a/menu/menu_setting.c b/menu/menu_setting.c index f8d9ce1ed8..6b53e02c56 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -322,7 +322,7 @@ rarch_setting_t *menu_setting_find(const char *label) for (; settings->type != ST_NONE; settings++) { - if (settings->type <= ST_GROUP && needle == settings->name_hash) + if (needle == settings->name_hash && settings->type <= ST_GROUP) { /* make sure this isn't a collision */ if (strcmp(label, settings->name) != 0)