Reorder if statements in Unequal's interpret_move() so that presses
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 26 Jan 2009 22:28:17 +0000 (22:28 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 26 Jan 2009 22:28:17 +0000 (22:28 +0000)
commit03b9ec27ad0e2fb56a126df74c775ce20d9d273e
treef4f4c464e0b734f97b28b0cb615373da90b81133
parent3e17893b1f77346f1e2460968f54b1d1468ef81f
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.)

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8433 cda61777-01e9-0310-a592-d414129be87e
unequal.c