[gimp/gimp-2-8] file-jpeg: fix operator precedence errors
- From: Nils Philippsen <nphilipp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] file-jpeg: fix operator precedence errors
- Date: Thu, 7 Nov 2013 11:31:13 +0000 (UTC)
commit 6abd0f2438dd3b025b1224ab6a473615c17f3418
Author: Nils Philippsen <nils redhat com>
Date: Thu Nov 7 12:18:25 2013 +0100
file-jpeg: fix operator precedence errors
(cf. commit a9376443d7a2530f4481be18ee96a0322dc01ae5)
plug-ins/file-jpeg/jpeg-load.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg-load.c b/plug-ins/file-jpeg/jpeg-load.c
index 3609029..4ae7eb2 100644
--- a/plug-ins/file-jpeg/jpeg-load.c
+++ b/plug-ins/file-jpeg/jpeg-load.c
@@ -982,9 +982,9 @@ jpeg_load_cmyk_transform (guint8 *profile_data,
if (cmyk_profile)
{
#ifdef HAVE_LCMS1
- if (! cmsGetColorSpace (cmyk_profile) == icSigCmykData)
+ if (cmsGetColorSpace (cmyk_profile) != icSigCmykData)
#else
- if (! cmsGetColorSpace (cmyk_profile) == cmsSigCmykData)
+ if (cmsGetColorSpace (cmyk_profile) != cmsSigCmykData)
#endif
{
cmsCloseProfile (cmyk_profile);
@@ -999,9 +999,9 @@ jpeg_load_cmyk_transform (guint8 *profile_data,
cmyk_profile = cmsOpenProfileFromFile (config->cmyk_profile, "r");
#ifdef HAVE_LCMS1
- if (cmyk_profile && ! cmsGetColorSpace (cmyk_profile) == icSigCmykData)
+ if (cmyk_profile && cmsGetColorSpace (cmyk_profile) != icSigCmykData)
#else
- if (cmyk_profile && ! cmsGetColorSpace (cmyk_profile) == cmsSigCmykData)
+ if (cmyk_profile && cmsGetColorSpace (cmyk_profile) != cmsSigCmykData)
#endif
{
cmsCloseProfile (cmyk_profile);
@@ -1022,9 +1022,9 @@ jpeg_load_cmyk_transform (guint8 *profile_data,
rgb_profile = cmsOpenProfileFromFile (config->rgb_profile, "r");
#ifdef HAVE_LCMS1
- if (rgb_profile && ! cmsGetColorSpace (rgb_profile) == icSigRgbData)
+ if (rgb_profile && cmsGetColorSpace (rgb_profile) != icSigRgbData)
#else
- if (rgb_profile && ! cmsGetColorSpace (rgb_profile) == cmsSigRgbData)
+ if (rgb_profile && cmsGetColorSpace (rgb_profile) != cmsSigRgbData)
#endif
{
cmsCloseProfile (rgb_profile);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]