aboutsummaryrefslogtreecommitdiff
path: root/solo.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-05-18 08:34:01 +0000
committerSimon Tatham <anakin@pobox.com>2005-05-18 08:34:01 +0000
commit1304e07d7460aee9994f05bb5dc718e157ca07d6 (patch)
treeeebafe0e6740dad3b061cfd9e5c8777529ca15cd /solo.c
parent58eb0551d46679036293a10f5a1e508c3ef467ef (diff)
downloadpuzzles-1304e07d7460aee9994f05bb5dc718e157ca07d6.zip
puzzles-1304e07d7460aee9994f05bb5dc718e157ca07d6.tar.gz
puzzles-1304e07d7460aee9994f05bb5dc718e157ca07d6.tar.bz2
puzzles-1304e07d7460aee9994f05bb5dc718e157ca07d6.tar.xz
Standalone solvers were broken by my recent API changes.
[originally from svn r5800]
Diffstat (limited to 'solo.c')
-rw-r--r--solo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/solo.c b/solo.c
index 20c288f..f074a9c 100644
--- a/solo.c
+++ b/solo.c
@@ -2145,7 +2145,8 @@ int main(int argc, char **argv)
}
*desc++ = '\0';
- p = decode_params(id);
+ p = default_params();
+ decode_params(p, id);
err = validate_desc(p, desc);
if (err) {
fprintf(stderr, "%s: %s\n", argv[0], err);