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:
cf9e6e8
)
Rectangles random seed IDs shouldn't bother stating the expansion
author
Simon Tatham
<anakin@pobox.com>
Wed, 18 May 2005 17:28:48 +0000
(17:28 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Wed, 18 May 2005 17:28:48 +0000
(17:28 +0000)
factor if it's zero.
[originally from svn r5807]
rect.c
patch
|
blob
|
history
diff --git
a/rect.c
b/rect.c
index 78c9e083f805f9192e7df531bf9ced947c5ba875..5e008e7765c0c4891a6d895c91a45f81ad30b015 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);