aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uzbl.c b/uzbl.c
index 4c37f08..1564192 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -1558,7 +1558,7 @@ set_var_value(gchar *name, gchar *val) {
} else if (c->type == TYPE_FLOAT) {
float *fp = (float *)c->ptr;
buf = expand_vars(val);
- *fp = strtof(buf, &endp);
+ *fp = atof(buf);
g_free(buf);
}