summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c884a97)
raw | patch | inline | side by side (parent: c884a97)
author | JazzyNico <nicoduf@yahoo.fr> | |
Sun, 26 Sep 2010 15:46:15 +0000 (17:46 +0200) | ||
committer | JazzyNico <nicoduf@yahoo.fr> | |
Sun, 26 Sep 2010 15:46:15 +0000 (17:46 +0200) |
src/extension/param/float.cpp | patch | blob | history |
index 5dce0f9e3dd22bb4adbb032493a9a0ef33f1a2d0..62762b3bb0d370b77dd097f0fb9e45b00763efab 100644 (file)
@@ -35,11 +35,11 @@ ParamFloat::ParamFloat (const gchar * name, const gchar * guitext, const gchar *
const char * maxval = xml->attribute("max");
if (maxval != NULL)
- _max = atof(maxval);
+ _max = g_ascii_strtod (maxval,NULL);
const char * minval = xml->attribute("min");
if (minval != NULL)
- _min = atof(minval);
+ _min = g_ascii_strtod (minval,NULL);
_precision = 1;
const char * precision = xml->attribute("precision");