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 4f12637..084c354 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -1433,7 +1433,7 @@ set_var_value(gchar *name, gchar *val) {
*ip = (int)strtoul(val, &endp, 10);
} else if (c->type == TYPE_FLOAT) {
float *fp = (float *)c->ptr;
- *fp = (float)strtof(val, &endp);
+ *fp = strtof(val, &endp);
}
/* invoke a command specific function */