X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/f530be81787b6542b89211c2aff0a36b047e79c7..acc7c231cc4a80bd0d2e2e9bad66a4b2bf3e7f49:/mines.c diff --git a/mines.c b/mines.c index 612ade5..d2ec395 100644 --- a/mines.c +++ b/mines.c @@ -1990,6 +1990,7 @@ static char *validate_desc(game_params *params, char *desc) int x, y; if (*desc == 'r') { + desc++; if (!*desc || !isdigit((unsigned char)*desc)) return "No initial mine count in game description"; while (*desc && isdigit((unsigned char)*desc))