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]
/
netslide.c
diff --git
a/netslide.c
b/netslide.c
index b16cb0bf222aaa1484251c6a5ef5648e65357c5a..12fabd7af1f27f82dc369c77cc07276062db7aea 100644
(file)
--- a/
netslide.c
+++ b/
netslide.c
@@
-309,7
+309,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->width <= 1 || params->height <= 1)
return "Width and height must both be greater than one";