chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58eb055
)
Standalone solvers were broken by my recent API changes.
author
Simon Tatham
<anakin@pobox.com>
Wed, 18 May 2005 08:34:01 +0000
(08:34 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Wed, 18 May 2005 08:34:01 +0000
(08:34 +0000)
[originally from svn r5800]
pattern.c
patch
|
blob
|
history
solo.c
patch
|
blob
|
history
diff --git
a/pattern.c
b/pattern.c
index 438243d97fdd295fe549b19e936740c255ff198a..63b856cb798b7ebca69054266ae368432215dd7b 100644
(file)
--- a/
pattern.c
+++ b/
pattern.c
@@
-1206,7
+1206,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);
diff --git
a/solo.c
b/solo.c
index 20c288f92f4d2fdb57a1e2fa556ab83747566cc7..f074a9cf9f4bcdead25ea6eec6070f68ae2df31d 100644
(file)
--- 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);