aboutsummaryrefslogtreecommitdiff
path: root/rootston/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'rootston/config.c')
-rw-r--r--rootston/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/config.c b/rootston/config.c
index db77506f..ed91d4fd 100644
--- a/rootston/config.c
+++ b/rootston/config.c
@@ -270,7 +270,7 @@ static int config_ini_handler(void *user, const char *section, const char *name,
} else if (strcmp(name, "y") == 0) {
oc->y = strtol(value, NULL, 10);
} else if (strcmp(name, "scale") == 0) {
- oc->scale = strtol(value, NULL, 10);
+ oc->scale = strtof(value, NULL);
assert(oc->scale >= 1);
} else if (strcmp(name, "rotate") == 0) {
if (strcmp(value, "normal") == 0) {