Add a `full' parameter to validate_params(), analogous to the one in
[sgt/puzzles] / gtk.c
diff --git a/gtk.c b/gtk.c
index 1a79f0e..8ebddd6 100644 (file)
--- a/gtk.c
+++ b/gtk.c
@@ -1676,7 +1676,7 @@ int main(int argc, char **argv)
                 *seed++ = '\0';
            thegame.decode_params(par, params);
         }
-        if ((error = thegame.validate_params(par)) != NULL) {
+        if ((error = thegame.validate_params(par, TRUE)) != NULL) {
            fprintf(stderr, "%s: %s\n", pname, error);
             return 1;
         }