From c4198948a8019903b250fec426d973e8f32abacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20K=C3=B6lker?= Date: Mon, 21 Sep 2015 16:26:53 +0200 Subject: [PATCH] Fix typo in undo key handling. Now we can undo with both 'u' and 'U', symmetrically with redoing with both 'r' and 'R'. --- midend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;