From: JazzyNico Date: Sun, 26 Sep 2010 15:46:15 +0000 (+0200) Subject: Extensions. Fix for bug #647744 ([inx] min/max float values ignored with locale using... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f24a193592509367373a341cb0606b05e54a8f6c;p=inkscape.git Extensions. Fix for bug #647744 ([inx] min/max float values ignored with locale using comma as decimal separator). --- diff --git a/src/extension/param/float.cpp b/src/extension/param/float.cpp index 5dce0f9e3..62762b3bb 100644 --- a/src/extension/param/float.cpp +++ b/src/extension/param/float.cpp @@ -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");