From: Cristy Date: Mon, 5 Dec 2016 20:21:50 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.3-10~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59262d90c4983dbb53349f30105e6f1ffcbffb84;p=imagemagick ... --- diff --git a/PerlMagick/Magick.xs b/PerlMagick/Magick.xs index 1eb06624f..66f2d4ff9 100644 --- a/PerlMagick/Magick.xs +++ b/PerlMagick/Magick.xs @@ -1300,7 +1300,7 @@ static void SetAttribute(pTHX_ struct PackageInfo *info,Image *image, break; } for ( ; image; image=image->next) - image->colorspace=(ColorspaceType) sp; + (void) SetImageColorspace(image,(ColorspaceType) sp,exception); break; } if (LocaleCompare(attribute,"comment") == 0) diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index 47c930fb4..5f8299410 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -1300,7 +1300,7 @@ static void SetAttribute(pTHX_ struct PackageInfo *info,Image *image, break; } for ( ; image; image=image->next) - image->colorspace=(ColorspaceType) sp; + (void) SetImageColorspace(image,(ColorspaceType) sp,exception); break; } if (LocaleCompare(attribute,"comment") == 0)