From b251c40a72251e47f182a55c9854806a9cb1745d Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sat, 6 Jun 2009 20:19:43 +0200 Subject: strtod > atof. Thanks Zaba --- uzbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uzbl.c') 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); } -- cgit v1.2.3