chiark / gitweb /
Add a `full' parameter to validate_params(), analogous to the one in
[sgt-puzzles.git] / 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";