Set menu->state to 0 in menu_iterate_render function

This commit is contained in:
twinaphex 2015-09-27 23:39:59 +02:00
parent 710c43241a
commit 762258cae6

View File

@ -233,7 +233,6 @@ int menu_iterate(bool render_this_frame, enum menu_action action)
if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
return 0;
menu->state = 0;
menu->menu_state.msg[0] = '\0';
hash = menu_hash_calculate(label);
iterate_type = action_iterate_type(hash);
@ -366,5 +365,7 @@ int menu_iterate_render(void)
menu_driver_set_texture();
menu->state = 0;
return 0;
}