~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Gary Wong observes that solo's decode_params() is overenthusiastic
[sgt/puzzles]
/
solo.c
diff --git
a/solo.c
b/solo.c
index
c02e750
..
bba2cbd
100644
(file)
--- a/
solo.c
+++ b/
solo.c
@@
-207,7
+207,7
@@
static void decode_params(game_params *ret, char const *string)
if (*string == 'r' || *string == 'm' || *string == 'a') {
int sn, sc, sd;
sc = *string++;
- if (*string == 'd') {
+ if (
sc == 'm' &&
*string == 'd') {
sd = TRUE;
string++;
} else {