From 9885a86a27cec2ce38b1022e3a15b8c808e70db8 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 26 Mar 2007 10:24:25 +0000 Subject: [PATCH] Er, and now do that _without_ introducing further segfaults. [originally from svn r7409] --- rect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rect.c b/rect.c index fb8f787..1fe873b 100644 --- a/rect.c +++ b/rect.c @@ -1692,7 +1692,7 @@ static char *new_game_desc(game_params *params, random_state *rs, /* * If we've succeeded, then terminate the loop. */ - if (ret) + if (ret == 1) break; }