diff options
-rw-r--r-- | src/xcms/LRGB.c | 2 | ||||
-rw-r--r-- | src/xcms/Lab.c | 2 | ||||
-rw-r--r-- | src/xcms/Luv.c | 2 | ||||
-rw-r--r-- | src/xcms/XYZ.c | 2 | ||||
-rw-r--r-- | src/xcms/uvY.c | 2 | ||||
-rw-r--r-- | src/xcms/xyY.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/xcms/LRGB.c b/src/xcms/LRGB.c index bf8cacd..1b3c5e5 100644 --- a/src/xcms/LRGB.c +++ b/src/xcms/LRGB.c @@ -1434,7 +1434,7 @@ XcmsLRGB_RGBi_ParseString( &pColor->spec.RGBi.blue) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/Lab.c b/src/xcms/Lab.c index 7238c16..75ed21d 100644 --- a/src/xcms/Lab.c +++ b/src/xcms/Lab.c @@ -164,7 +164,7 @@ CIELab_ParseString( &pColor->spec.CIELab.b_star) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/Luv.c b/src/xcms/Luv.c index 3af891a..f6567ac 100644 --- a/src/xcms/Luv.c +++ b/src/xcms/Luv.c @@ -167,7 +167,7 @@ CIELuv_ParseString( &pColor->spec.CIELuv.v_star) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/XYZ.c b/src/xcms/XYZ.c index b4dda77..5c93dad 100644 --- a/src/xcms/XYZ.c +++ b/src/xcms/XYZ.c @@ -146,7 +146,7 @@ CIEXYZ_ParseString( &pColor->spec.CIEXYZ.Z) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/uvY.c b/src/xcms/uvY.c index 28b1ecb..46e9c19 100644 --- a/src/xcms/uvY.c +++ b/src/xcms/uvY.c @@ -161,7 +161,7 @@ CIEuvY_ParseString( &pColor->spec.CIEuvY.Y) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/xyY.c b/src/xcms/xyY.c index 81e681b..b15e901 100644 --- a/src/xcms/xyY.c +++ b/src/xcms/xyY.c @@ -160,7 +160,7 @@ CIExyY_ParseString( &pColor->spec.CIExyY.Y) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; |