Add a `full' parameter to validate_params(), analogous to the one in
[sgt/puzzles] / flip.c
diff --git a/flip.c b/flip.c
index b38aff1..4125d6d 100644 (file)
--- a/flip.c
+++ b/flip.c
@@ -182,7 +182,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";