~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lee Dowling points out that duplicating the entire grid data
[sgt/puzzles]
/
inertia.c
diff --git
a/inertia.c
b/inertia.c
index
965f533
..
aebd314
100644
(file)
--- a/
inertia.c
+++ b/
inertia.c
@@
-1580,7
+1580,8
@@
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
dir = 1;
else if (button == (MOD_NUM_KEYPAD | '3'))
dir = 3;
dir = 1;
else if (button == (MOD_NUM_KEYPAD | '3'))
dir = 3;
- else if (button == ' ' && state->soln && state->solnpos < state->soln->len)
+ else if (IS_CURSOR_SELECT(button) &&
+ state->soln && state->solnpos < state->soln->len)
dir = state->soln->list[state->solnpos];
if (dir < 0)
dir = state->soln->list[state->solnpos];
if (dir < 0)