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
This commit is contained in:
Christian Soffke 2021-12-28 05:13:02 +01:00 committed by Solomon Peachy
parent 14a5355278
commit edc68b0657

View file

@ -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: