From c1f743c8b8bd840b5bf91bf1c1e88a99fe780bcb Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 23 Apr 2005 16:41:35 +0000 Subject: [PATCH] Visual C points out a couple of typos. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5661 cda61777-01e9-0310-a592-d414129be87e --- solo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.11.0