summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2006-09-05 21:47:31 +0000
committerAntoine Cellerier <dionoea@videolan.org>2006-09-05 21:47:31 +0000
commite0cb0f68934db522031433f38ca6f909c039e22e (patch)
tree708f4a7f34625074cca243e0534a4964aa553ebb /apps
parent9db73f40e75852c9147ce38869cb2f4e326e5b8f (diff)
downloadrockbox-e0cb0f68934db522031433f38ca6f909c039e22e.tar.gz
rockbox-e0cb0f68934db522031433f38ca6f909c039e22e.tar.bz2
rockbox-e0cb0f68934db522031433f38ca6f909c039e22e.zip
Untested cursor display fix when no cards are left/drawn on the remains stack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10894 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/solitaire.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index 291c9efe3e..7b6de208d7 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -1307,10 +1307,11 @@ int solitaire( void )
j += NUMBER_WIDTH+2;
}
}
- else if( cur_rem == NOT_A_CARD && cur_col == REM_COL )
- {
- draw_cursor( CARD_WIDTH+2*MARGIN+1, MARGIN );
- }
+ }
+ if( ( cur_rem == NOT_A_CARD || rem == NOT_A_CARD )
+ && cur_col == REM_COL )
+ {
+ draw_cursor( CARD_WIDTH+2*MARGIN+1, MARGIN );
}
rb->lcd_update();