[Telepathy-commits] [telepathy-gabble/master] Don't use strtod as it is locale dependant
Pierre-Luc Beaudoin
pierre-luc.beaudoin at collabora.co.uk
Sat Jan 24 20:31:32 PST 2009
---
src/conn-location.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/conn-location.c b/src/conn-location.c
index 0dc32e9..4616e8a 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -49,7 +49,7 @@ lm_message_node_get_double (LmMessageNode *node,
if (value == NULL)
return FALSE;
- *d = strtod (value, &end);
+ *d = g_ascii_strtod (value, &end);
if (end == value)
return FALSE;
--
1.5.6.5
More information about the Telepathy-commits
mailing list