why = "Too much data to fill grid"; goto fail;
}
- if (*p < '0' && *p > '9') {
+ if (*p < '0' || *p > '9') {
why = "Expecting number in game description"; goto fail;
}
n = atoi(p);
const struct game thegame = {
"Unequal", "games.unequal", "unequal",
default_params,
- game_fetch_preset,
+ game_fetch_preset, NULL,
decode_params,
encode_params,
free_params,