Add a `full' parameter to validate_params(), analogous to the one in
[sgt/puzzles] / rect.c
diff --git a/rect.c b/rect.c
index 952f133..fbe5b79 100644 (file)
--- a/rect.c
+++ b/rect.c
@@ -212,7 +212,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 <= 0 || params->h <= 0)
        return "Width and height must both be greater than zero";