]> granicus.if.org Git - imagemagick/commitdiff
Fix PerlMagick compile error
authorCristy <urban-warrior@imagemagick.org>
Sun, 14 Feb 2016 14:08:15 +0000 (09:08 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 14 Feb 2016 14:10:39 +0000 (09:10 -0500)
PerlMagick/Magick.xs
PerlMagick/quantum/quantum.xs.in

index b81cf4de599a195f0aa52d14be60aad7c6bb8393..22524926694d7c533970abf76d544e18ec68f8d5 100644 (file)
@@ -11314,10 +11314,10 @@ Mogrify(ref,...)
           PixelInfo
             color;
 
-          (void) QueryMagickColor("none",&color,exception);
+          (void) QueryColorCompliance("none",AllCompliance,&color,exception);
           if (attribute_flag[0] != 0)
-            (void) QueryMagickColor(argument_list[0].string_reference,
-              &color,exception);
+            (void) QueryColorCompliance(argument_list[0].string_reference,
+              AllCompliance,&color,exception);
           (void) SetImageColor(image,&color,exception);
           break;
         }
index 32154789df0833697de063fbe1cea6c93152a7fd..b7b866d64cec5e627beabd8c595ad083e64774d4 100644 (file)
@@ -11314,10 +11314,10 @@ Mogrify(ref,...)
           PixelInfo
             color;
 
-          (void) QueryMagickColor("none",&color,exception);
+          (void) QueryColorCompliance("none",AllCompliance,&color,exception);
           if (attribute_flag[0] != 0)
-            (void) QueryMagickColor(argument_list[0].string_reference,
-              &color,exception);
+            (void) QueryColorCompliance(argument_list[0].string_reference,
+              AllCompliance,&color,exception);
           (void) SetImageColor(image,&color,exception);
           break;
         }