Gary Wong observes that solo's decode_params() is overenthusiastic
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 11 Mar 2007 10:12:45 +0000 (10:12 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 11 Mar 2007 10:12:45 +0000 (10:12 +0000)
commit28814d465731cc2f8ce3b2e452b25265da248f52
tree3b91b1838c8c97c65af3b4df92e3492396c04709
parent49d4feb50a52e8c58baa9cb943cf4dc2ac65f2fb
Gary Wong observes that solo's decode_params() is overenthusiastic
about eating the letter `d' (for `diagonal') when it appears in a
symmtery description: it should only be used after `m', because
mirror symmetry is the only type that can be diagonal. This was
causing parsing of the parameter description `3x3adu' to produce the
wrong answer: the d would be swallowed, then the u ignored for being
incomprehensible, and you'd get default Trivial difficulty.

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