~mdw
/
sgt
/
puzzles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
45f953c
)
Rectangles random seed IDs shouldn't bother stating the expansion
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 18 May 2005 17:28:48 +0000
(17:28 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 18 May 2005 17:28:48 +0000
(17:28 +0000)
factor if it's zero.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5807
cda61777
-01e9-0310-a592-
d414129be87e
rect.c
patch
|
blob
|
blame
|
history
diff --git
a/rect.c
b/rect.c
index
78c9e08
..
5e008e7
100644
(file)
--- a/
rect.c
+++ b/
rect.c
@@
-150,7
+150,7
@@
static char *encode_params(game_params *params, int full)
char data[256];
sprintf(data, "%dx%d", params->w, params->h);
- if (full)
+ if (full
&& params->expandfactor
)
sprintf(data + strlen(data), "e%g", params->expandfactor);
return dupstr(data);