(menu_cbs_ok.c) Cleanup

This commit is contained in:
twinaphex 2015-09-18 07:59:23 +02:00
parent 436ec54e49
commit 5107c96009

View File

@ -561,8 +561,9 @@ static int generic_action_ok(const char *path,
menu_navigation_clear(nav, false); menu_navigation_clear(nav, false);
ret = -1; ret = -1;
} }
menu_list_flush_stack(menu_list, NULL, MENU_SETTINGS); flush_char = NULL;
return ret; flush_type = MENU_SETTINGS;
break;
#ifdef HAVE_SHADER_MANAGER #ifdef HAVE_SHADER_MANAGER
case ACTION_OK_LOAD_PRESET: case ACTION_OK_LOAD_PRESET:
menu_shader_manager_set_preset(menu->shader, menu_shader_manager_set_preset(menu->shader,