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]
/
samegame.c
diff --git
a/samegame.c
b/samegame.c
index 35f2ae2105259f200501fb56c90243ae1c524f36..5a5230322240552d7f803a9ec422c861eaf83887 100644
(file)
--- a/
samegame.c
+++ b/
samegame.c
@@
-209,7
+209,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 < 1 || params->h < 1)
return "Width and height must both be positive";