Changed strtod() -> g_ascii_strtod(), since strtod() is locale dependent.

Original commit message from CVS:
Changed strtod() -> g_ascii_strtod(), since strtod() is locale
dependent.
This commit is contained in:
David Schleef 2003-07-25 07:55:59 +00:00
parent 9c65247b62
commit 393bd81d25

View file

@ -357,7 +357,7 @@ gst_props_entry_from_string_no_name (gchar *s, gchar **after, gboolean has_type)
}
if (type == GST_PROPS_INVALID_TYPE || type == GST_PROPS_FLOAT_TYPE) {
gdouble d;
d = strtod (check, &end);
d = g_ascii_strtod (check, &end);
while (g_ascii_isspace (*end)) end++;
if (*end == '\0' || *end == ',' || *end == ';' || *end == ')' || *end == ']') {
*after = end;