aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-06-06 20:19:43 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-06-06 20:19:43 +0200
commitb251c40a72251e47f182a55c9854806a9cb1745d (patch)
treeda58a818ee4efb32df3a520528c370e68aec3755 /uzbl.c
parentb121e01f4139136b193c8b277777a1d019f596f2 (diff)
strtod > atof. Thanks Zaba
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 1564192..bd54c7d 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 = atof(buf);
+ *fp = strtod(buf, &endp);
g_free(buf);
}