diff options
| author | Antoine Cellerier <dionoea@videolan.org> | 2006-09-05 21:47:31 +0000 |
|---|---|---|
| committer | Antoine Cellerier <dionoea@videolan.org> | 2006-09-05 21:47:31 +0000 |
| commit | e0cb0f68934db522031433f38ca6f909c039e22e (patch) | |
| tree | 708f4a7f34625074cca243e0534a4964aa553ebb /apps/plugins | |
| parent | 9db73f40e75852c9147ce38869cb2f4e326e5b8f (diff) | |
| download | rockbox-e0cb0f68934db522031433f38ca6f909c039e22e.zip rockbox-e0cb0f68934db522031433f38ca6f909c039e22e.tar.gz rockbox-e0cb0f68934db522031433f38ca6f909c039e22e.tar.bz2 rockbox-e0cb0f68934db522031433f38ca6f909c039e22e.tar.xz | |
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/plugins')
| -rw-r--r-- | apps/plugins/solitaire.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index 291c9ef..7b6de20 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(); |