summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2006-09-04 20:26:31 +0000
committerAntoine Cellerier <dionoea@videolan.org>2006-09-04 20:26:31 +0000
commit669490d1a4f02e37939c62084855bd08369aab5a (patch)
tree1d7abf3726e0192c4b0d21d4c3fd160dcbca197e /apps
parenta27c1833aa52c66b6df73b803cf372c5652ffaca (diff)
downloadrockbox-669490d1a4f02e37939c62084855bd08369aab5a.tar.gz
rockbox-669490d1a4f02e37939c62084855bd08369aab5a.zip
Restore default background color when going back to menu after winning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10883 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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 2df96e7a64..c34bfe66a6 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -672,6 +672,10 @@ int solitaire_menu( unsigned char context )
672 context = MENU_DURINGGAME; 672 context = MENU_DURINGGAME;
673 } 673 }
674 674
675#if LCD_DEPTH > 1
676 rb->lcd_set_background( LCD_DEFAULT_BG );
677#endif
678
675 while( true ) 679 while( true )
676 { 680 {
677 681
@@ -1548,9 +1552,6 @@ int solitaire( void )
1548 case SOL_RC_QUIT: 1552 case SOL_RC_QUIT:
1549#endif 1553#endif
1550 case SOL_QUIT: 1554 case SOL_QUIT:
1551#if LCD_DEPTH > 1
1552 rb->lcd_set_background( LCD_DEFAULT_BG );
1553#endif
1554 switch( solitaire_menu( MENU_DURINGGAME ) ) 1555 switch( solitaire_menu( MENU_DURINGGAME ) )
1555 { 1556 {
1556 case MENU_QUIT: 1557 case MENU_QUIT: