[gegl] gegl-matrix: use s/strtod/g_ascii_strtod/
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-matrix: use s/strtod/g_ascii_strtod/
- Date: Mon, 14 Nov 2016 16:20:02 +0000 (UTC)
commit b7f2d85a24d9c15daf56a46c086d95133cf5e841
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Nov 14 13:39:29 2016 +0100
gegl-matrix: use s/strtod/g_ascii_strtod/
gegl/gegl-matrix.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/gegl-matrix.c b/gegl/gegl-matrix.c
index 48bad21..036df9f 100644
--- a/gegl/gegl-matrix.c
+++ b/gegl/gegl-matrix.c
@@ -238,12 +238,12 @@ gegl_matrix3_parse_string (GeglMatrix3 *matrix,
gfloat b;
if (!p) return;
p++;
- a = strtod(p, &p);
+ a = g_ascii_strtod(p, &p);
if (!p) return;
p = strchr (string, ',');
if (!p) return;
p++;
- b = strtod (p, &p);
+ b = g_ascii_strtod (p, &p);
if (!p) return;
matrix->coeff [0][2] = a;
@@ -261,7 +261,7 @@ gegl_matrix3_parse_string (GeglMatrix3 *matrix,
for (i=0;i<3;i++)
for (j=0;j<3;j++)
{
- a = strtod(p, &p);
+ a = g_ascii_strtod(p, &p);
matrix->coeff [j][i] = a;
if (!p) return;
p = strchr (p, ',');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]