mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Patch from James H to centralise some generally useful cursor-
handling functionality into misc.c. [originally from svn r8176]
This commit is contained in:
@ -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;
|
||||
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)
|
||||
|
Reference in New Issue
Block a user