summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-12-28 05:13:02 +0100
committerSolomon Peachy <pizza@shaftnet.org>2022-01-01 22:01:30 -0500
commitedc68b06574b57684a7fad4263dd59eed7f65f2f (patch)
treef5990c119337c96eac6fbf8075cfa99415418991
parent14a5355278ab3919ef497781fb57547a6a8186b4 (diff)
downloadrockbox-edc68b06.tar.gz
rockbox-edc68b06.zip
Solitaire: Fix Quit option with no saved games
Selecting "Quit" would start the game instead of quitting if no games had previously been saved. Change-Id: I4874288cc1087697dfb593a371e25da473870c8e
-rw-r--r--apps/plugins/solitaire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index a48bfbc9be..b1ede16f90 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -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: