From: Simon Tatham Date: Sat, 23 Apr 2005 16:41:35 +0000 (+0000) Subject: Visual C points out a couple of typos. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=5b1235c369222cc2f4f13322e9035d03d28dd21c;p=sgt-puzzles.git Visual C points out a couple of typos. [originally from svn r5661] --- diff --git a/solo.c b/solo.c index dfeeca5..35a081f 100644 --- a/solo.c +++ b/solo.c @@ -221,8 +221,8 @@ static game_params *custom_params(config_item *cfg) { game_params *ret = snew(game_params); - ret->c = atof(cfg[0].sval); - ret->r = atof(cfg[1].sval); + ret->c = atoi(cfg[0].sval); + ret->r = atoi(cfg[1].sval); return ret; }