From: Simon Tatham Date: Mon, 26 Mar 2007 10:24:25 +0000 (+0000) Subject: Er, and now do that _without_ introducing further segfaults. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=9885a86a27cec2ce38b1022e3a15b8c808e70db8;p=sgt-puzzles.git Er, and now do that _without_ introducing further segfaults. [originally from svn r7409] --- 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; }