From 4670313f6fe1790165040910121481d16d5f062c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 18 May 2005 17:28:48 +0000 Subject: [PATCH] Rectangles random seed IDs shouldn't bother stating the expansion factor if it's zero. [originally from svn r5807] --- rect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rect.c b/rect.c index 78c9e08..5e008e7 100644 --- 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);