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:
Jonas Kölker
2015-09-21 16:26:53 +02:00
committed by Simon Tatham
parent 6c71b459a6
commit c4198948a8

View File

@ -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;