summaryrefslogtreecommitdiffstats
path: root/apps/plugins/solitaire.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/solitaire.c')
-rw-r--r--apps/plugins/solitaire.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index a48bfbc9be..fde3d04a0b 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -56,7 +56,7 @@
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
-# define SOL_QUIT (BUTTON_SELECT | BUTTON_MENU)
+# define SOL_QUIT (BUTTON_SELECT | BUTTON_REPEAT)
# define SOL_UP BUTTON_SCROLL_BACK
# define SOL_DOWN BUTTON_SCROLL_FWD
# define SOL_LEFT_PRE BUTTON_LEFT
@@ -1088,7 +1088,7 @@ static int solitaire_menu(bool in_game)
case 2:
if (rb->set_option("Draw Cards Option", &sol.draw_type,
- INT, drawcards, 2, NULL))
+ RB_INT, drawcards, 2, NULL))
result = MENU_USB;
break;
@@ -1678,7 +1678,7 @@ static int solitaire( int skipmenu )
{
switch( solitaire_menu(false) )
{
- case MENU_QUIT:
+ case MENU_SAVE_AND_QUIT:
return SOLITAIRE_QUIT;
case MENU_USB:
@@ -2149,6 +2149,7 @@ static int solitaire( int skipmenu )
break;
case SYS_POWEROFF:
+ case SYS_REBOOT:
return SOLITAIRE_SAVE_AND_QUIT;
default: