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)
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;
# define SOL_MOVE (BUTTON_SELECT | BUTTON_REL)
# define SOL_DRAW BUTTON_MODE
# define SOL_REM2CUR (BUTTON_LEFT | BUTTON_ON)
+# define SOL_CUR2STACK_PRE BUTTON_SELECT
# define SOL_CUR2STACK (BUTTON_SELECT | BUTTON_REPEAT)
# define SOL_REM2STACK (BUTTON_RIGHT | BUTTON_ON)
# define SOL_REM BUTTON_REC
@@ -865,7 +866,7 @@ enum move move_card( int dest_col, int src_card )
}
/* if we are on one of the 4 final stacks ... */
else if( dest_col < REM_COL )
- {
+ {
/* ... check if we are on an empty stack, that the src is an
* ace and that this is the good final stack */
if( dest_card == NOT_A_CARD