chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a `full' parameter to validate_params(), analogous to the one in
[sgt-puzzles.git]
/
sixteen.c
diff --git
a/sixteen.c
b/sixteen.c
index f293fab67c126ff3209741c227e96b81a7a21440..5eb0715f39936af3820b9cb8c5946e7d419db921 100644
(file)
--- a/
sixteen.c
+++ b/
sixteen.c
@@
-172,7
+172,7
@@
static game_params *custom_params(config_item *cfg)
return ret;
}
-static char *validate_params(game_params *params)
+static char *validate_params(game_params *params
, int full
)
{
if (params->w < 2 || params->h < 2)
return "Width and height must both be at least two";