summaryrefslogtreecommitdiffstats
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.tar.bz2
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 )
context = MENU_DURINGGAME;
}
+#if LCD_DEPTH > 1
+ rb->lcd_set_background( LCD_DEFAULT_BG );
+#endif
+
while( true )
{
@@ -1548,9 +1552,6 @@ int solitaire( void )
case SOL_RC_QUIT:
#endif
case SOL_QUIT:
-#if LCD_DEPTH > 1
- rb->lcd_set_background( LCD_DEFAULT_BG );
-#endif
switch( solitaire_menu( MENU_DURINGGAME ) )
{
case MENU_QUIT: