1
0
forked from GitHub/gf-core

bugfix for parsing floating point numbers in the C runtime

This commit is contained in:
kr.angelov
2013-07-18 14:29:58 +00:00
parent da864069ab
commit 52e2298240

View File

@@ -280,7 +280,7 @@ gu_string_to_double(GuString s, double *res)
bool neg = false;
bool dec = false;
int exp = 1;
double exp = 1;
if (src[i] == '-') {
neg = true;