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]
/
twiddle.c
diff --git
a/twiddle.c
b/twiddle.c
index ce3d0ece979abbccd35dad00de6ff479eb11e3f2..ac6f385dfd47f98e40527de91a865e5e604bc1fa 100644
(file)
--- a/
twiddle.c
+++ b/
twiddle.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->n < 2)
return "Rotation radius must be at least two";