diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-12-28 05:13:02 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-01-01 22:01:30 -0500 |
commit | edc68b06574b57684a7fad4263dd59eed7f65f2f (patch) | |
tree | f5990c119337c96eac6fbf8075cfa99415418991 /apps/plugins/solitaire.c | |
parent | 14a5355278ab3919ef497781fb57547a6a8186b4 (diff) | |
download | rockbox-edc68b06574b57684a7fad4263dd59eed7f65f2f.tar.gz rockbox-edc68b06574b57684a7fad4263dd59eed7f65f2f.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
Diffstat (limited to 'apps/plugins/solitaire.c')
-rw-r--r-- | apps/plugins/solitaire.c | 2 |
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 ) | |||
1678 | { | 1678 | { |
1679 | switch( solitaire_menu(false) ) | 1679 | switch( solitaire_menu(false) ) |
1680 | { | 1680 | { |
1681 | case MENU_QUIT: | 1681 | case MENU_SAVE_AND_QUIT: |
1682 | return SOLITAIRE_QUIT; | 1682 | return SOLITAIRE_QUIT; |
1683 | 1683 | ||
1684 | case MENU_USB: | 1684 | case MENU_USB: |