Couple of solving-related mid-end tweaks. Firstly, when we generate
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 16 Nov 2008 15:28:28 +0000 (15:28 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 16 Nov 2008 15:28:28 +0000 (15:28 +0000)
commit640a235e9722d97594cfd1aefc2e5c556fe28327
treec1650dc9b573e1458fd50e09e55132c094a79b90
parentf7692dd84c22bcf8bf5f3806b986c586df7798c5
Couple of solving-related mid-end tweaks. Firstly, when we generate
a game which comes with an aux string, we immediately self-test that
string by passing it to solve() and test by assertion that it
succeeded. So a bug in a back end which intermittently generates
malformed aux strings will be detected as soon as it occurs, instead
of only if the user happens to use the Solve operation on a
particular game in which it happened.

Secondly, Ctrl-S now (undocumentedly) triggers the Solve operation,
on the general principle that keyboard shortcuts tend to come in
handy, and on the specific principle that if you want to look at
lots of solved grids in quick succession (say, when observing their
general shape and nature to see if your generation algorithm was
good or not) it's handy to have a quick way of getting to them.

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