aboutsummaryrefslogtreecommitdiff
path: root/midend.c
diff options
context:
space:
mode:
authorJonas Kölker <jonaskoelker@yahoo.com>2015-09-21 16:26:53 +0200
committerSimon Tatham <anakin@pobox.com>2015-10-03 16:57:49 +0100
commitc4198948a8019903b250fec426d973e8f32abacd (patch)
tree6333004c40ada795f3a20ed0a2e5565d134840bb /midend.c
parent6c71b459a6af362e242ff46bef85471a2973d09f (diff)
downloadpuzzles-c4198948a8019903b250fec426d973e8f32abacd.zip
puzzles-c4198948a8019903b250fec426d973e8f32abacd.tar.gz
puzzles-c4198948a8019903b250fec426d973e8f32abacd.tar.bz2
puzzles-c4198948a8019903b250fec426d973e8f32abacd.tar.xz
Fix typo in undo key handling.
Now we can undo with both 'u' and 'U', symmetrically with redoing with both 'r' and 'R'.
Diffstat (limited to 'midend.c')
-rw-r--r--midend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/midend.c b/midend.c
index a170857..3107027 100644
--- a/midend.c
+++ b/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;