projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c65247
)
Changed strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
author
David Schleef
<ds@schleef.org>
Fri, 25 Jul 2003 07:55:59 +0000
(07:55 +0000)
committer
David Schleef
<ds@schleef.org>
Fri, 25 Jul 2003 07:55:59 +0000
(07:55 +0000)
Original commit message from CVS:
Changed strtod() -> g_ascii_strtod(), since strtod() is locale
dependent.
gst/gstprops.c
patch
|
blob
|
history
diff --git
a/gst/gstprops.c
b/gst/gstprops.c
index
f1f793e
..
879845b
100644
(file)
--- a/
gst/gstprops.c
+++ b/
gst/gstprops.c
@@
-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;