From: Jonas Kölker Date: Mon, 21 Sep 2015 14:26:53 +0000 (+0200) Subject: Fix typo in undo key handling. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c4198948a8019903b250fec426d973e8f32abacd;p=sgt-puzzles.git Fix typo in undo key handling. Now we can undo with both 'u' and 'U', symmetrically with redoing with both 'r' and 'R'. --- 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;