chiark / gitweb /
Reorder if statements in Unequal's interpret_move() so that presses
authorSimon Tatham <anakin@pobox.com>
Mon, 26 Jan 2009 22:28:17 +0000 (22:28 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 26 Jan 2009 22:28:17 +0000 (22:28 +0000)
commit4d79c715173ce034ca435df2ee0d2d9cc9d401b6
treef4f4c464e0b734f97b28b0cb615373da90b81133
parentcc0f957d8206833b09e44e639da078fe0d9278d5
Reorder if statements in Unequal's interpret_move() so that presses
of 'h' and 'm' are treated as digits if a square is selected, and
only treated as special commands otherwise. This renders very large
games (just about) playable.

Idea from Ben Hutchings's collection of Debian patches, although I
had to redo his (trivial) patch myself since the code has changed
recently.

(Addendum after committing: hmm, I see Jacob already applied the
original version of the patch a while back. Looks as if the recent
keyboard control change reintroduced the problem. Still, re-fixed
now.)

[originally from svn r8433]
unequal.c