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