aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-04-23 16:41:35 +0000
committerSimon Tatham <anakin@pobox.com>2005-04-23 16:41:35 +0000
commit5b1235c369222cc2f4f13322e9035d03d28dd21c (patch)
tree14929c1d4dfb7cb65e9177b31af6ede2822c450a
parent0c55b7e16f6c1c3bc0c332ebdbfff9686262804b (diff)
downloadpuzzles-5b1235c369222cc2f4f13322e9035d03d28dd21c.zip
puzzles-5b1235c369222cc2f4f13322e9035d03d28dd21c.tar.gz
puzzles-5b1235c369222cc2f4f13322e9035d03d28dd21c.tar.bz2
puzzles-5b1235c369222cc2f4f13322e9035d03d28dd21c.tar.xz
Visual C points out a couple of typos.
[originally from svn r5661]
-rw-r--r--solo.c4
1 files 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;
}