From 412344ff9a778ae6a07edeeedebf43a5362fae7b Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 31 May 2005 08:56:33 +0000 Subject: Fix a couple of robustness issues. [originally from svn r5873] --- mines.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mines.c') diff --git a/mines.c b/mines.c index e0add2a..62af8cb 100644 --- a/mines.c +++ b/mines.c @@ -2089,6 +2089,8 @@ static game_state *new_game(midend_data *me, game_params *params, char *desc) state->layout->me = me; } else { + state->layout->rs = NULL; + state->layout->me = NULL; state->layout->mines = snewn(wh, char); x = atoi(desc); -- cgit v1.1