aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-06-06 20:09:12 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-06-06 20:09:12 +0200
commitb121e01f4139136b193c8b277777a1d019f596f2 (patch)
tree96abff82c17ee39e2826410496cb71f96225e548 /uzbl.c
parent7b9914463e638fcd16093502e7bd3d6eb994815d (diff)
use stdlib atof() instead of gnu99 strtof() + more sense making example binds for zoomlevels
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);
}