diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-10 22:48:55 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-10 22:48:55 +0000 |
commit | 2c4cae1bf3d91b753f246e6fc89d6ff7e4c0241b (patch) | |
tree | 0c84720dbd69c8bb6f6ce399eeb063dcd79c1bbd /apps/plugins/lib | |
parent | 6bc9abcceb04599497e7dd270a75d232f3a4a834 (diff) |
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
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r-- | apps/plugins/lib/oldmenuapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |