summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-01 20:02:44 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-01 20:02:44 +0000
commitf3fc9cbd8b66ad97ff5be78c8adc9e7aeccdc328 (patch)
treebd358fda70c2128fe106763b9d3230a3f20c5d26 /apps/plugins
parentdb3b70c748f3b3943d328711eb3bee032009c0ef (diff)
downloadrockbox-f3fc9cbd8b66ad97ff5be78c8adc9e7aeccdc328.tar.gz
rockbox-f3fc9cbd8b66ad97ff5be78c8adc9e7aeccdc328.zip
Solitaire: Don't let the REM2STACK shortcut repeat on irivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11103 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/solitaire.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index 09c8b90eb0..dd3efdaf05 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -101,6 +101,7 @@ static struct plugin_api* rb;
101# define SOL_MOVE (BUTTON_SELECT | BUTTON_REL) 101# define SOL_MOVE (BUTTON_SELECT | BUTTON_REL)
102# define SOL_DRAW BUTTON_MODE 102# define SOL_DRAW BUTTON_MODE
103# define SOL_REM2CUR (BUTTON_LEFT | BUTTON_ON) 103# define SOL_REM2CUR (BUTTON_LEFT | BUTTON_ON)
104# define SOL_CUR2STACK_PRE BUTTON_SELECT
104# define SOL_CUR2STACK (BUTTON_SELECT | BUTTON_REPEAT) 105# define SOL_CUR2STACK (BUTTON_SELECT | BUTTON_REPEAT)
105# define SOL_REM2STACK (BUTTON_RIGHT | BUTTON_ON) 106# define SOL_REM2STACK (BUTTON_RIGHT | BUTTON_ON)
106# define SOL_REM BUTTON_REC 107# define SOL_REM BUTTON_REC
@@ -865,7 +866,7 @@ enum move move_card( int dest_col, int src_card )
865 } 866 }
866 /* if we are on one of the 4 final stacks ... */ 867 /* if we are on one of the 4 final stacks ... */
867 else if( dest_col < REM_COL ) 868 else if( dest_col < REM_COL )
868 { 869 {
869 /* ... check if we are on an empty stack, that the src is an 870 /* ... check if we are on an empty stack, that the src is an
870 * ace and that this is the good final stack */ 871 * ace and that this is the good final stack */
871 if( dest_card == NOT_A_CARD 872 if( dest_card == NOT_A_CARD