chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c71b45
)
Fix typo in undo key handling.
author
Jonas Kölker
<jonaskoelker@yahoo.com>
Mon, 21 Sep 2015 14:26:53 +0000
(16:26 +0200)
committer
Simon Tatham
<anakin@pobox.com>
Sat, 3 Oct 2015 15:57:49 +0000
(16:57 +0100)
Now we can undo with both 'u' and 'U', symmetrically with redoing with
both 'r' and 'R'.
midend.c
patch
|
blob
|
history
diff --git
a/midend.c
b/midend.c
index a17085795129da5002d7ac95e10930a0f7da0255..3107027963db09fdc2a89d41966311fedf62288d 100644
(file)
--- 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;