From 2c4cae1bf3d91b753f246e6fc89d6ff7e4c0241b Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Fri, 10 Aug 2007 22:48:55 +0000 Subject: Let solitaire save its settings when performing shutdown from inside the game or menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14276 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/oldmenuapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/lib') diff --git a/apps/plugins/lib/oldmenuapi.c b/apps/plugins/lib/oldmenuapi.c index dbe151daf9..742d394a50 100644 --- a/apps/plugins/lib/oldmenuapi.c +++ b/apps/plugins/lib/oldmenuapi.c @@ -112,9 +112,9 @@ int menu_show(int m) case ACTION_STD_OK: return rb->gui_synclist_get_sel_pos(&(menus[m].synclist)); - case ACTION_STD_CANCEL: case ACTION_STD_MENU: + case SYS_POWEROFF: exit = true; break; -- cgit v1.2.3