mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Fix typo in undo key handling.
Now we can undo with both 'u' and 'U', symmetrically with redoing with both 'r' and 'R'.
This commit is contained in:

committed by
Simon Tatham

parent
6c71b459a6
commit
c4198948a8
2
midend.c
2
midend.c
@ -600,7 +600,7 @@ static int midend_really_process_key(midend *me, int x, int y, int button)
|
||||
midend_new_game(me);
|
||||
midend_redraw(me);
|
||||
goto done; /* never animate */
|
||||
} else if (button == 'u' || button == 'u' ||
|
||||
} else if (button == 'u' || button == 'U' ||
|
||||
button == '\x1A' || button == '\x1F') {
|
||||
midend_stop_anim(me);
|
||||
type = me->states[me->statepos-1].movetype;
|
||||
|
Reference in New Issue
Block a user