]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 18 Jan 2013 15:32:55 +0000 (15:32 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 18 Jan 2013 15:32:55 +0000 (15:32 +0000)
PerlMagick/Magick.xs

index dfb1b9627a45f6c3282ae69e840b67c7a653ed83..2148e720394051c14802d808883356171e11552e 100644 (file)
@@ -1107,8 +1107,8 @@ static void SetAttribute(pTHX_ struct PackageInfo *info,Image *image,
         }
       if (LocaleCompare(attribute,"alpha") == 0)
         {
-          sp=SvPOK(sval) ? ParseCommandOption(MagickAlphaChannelOptions,MagickFalse,
-            SvPV(sval,na)) : SvIV(sval);
+          sp=SvPOK(sval) ? ParseCommandOption(MagickAlphaChannelOptions,
+            MagickFalse,SvPV(sval,na)) : SvIV(sval);
           if (sp < 0)
             {
               ThrowPerlException(exception,OptionError,"UnrecognizedType",
@@ -1116,7 +1116,8 @@ static void SetAttribute(pTHX_ struct PackageInfo *info,Image *image,
               break;
             }
           for ( ; image; image=image->next)
-            (void) SetImageAlphaChannel(image,(AlphaChannelOption) sp,exception);
+            (void) SetImageAlphaChannel(image,(AlphaChannelOption) sp,
+              exception);
           break;
         }
       if (LocaleCompare(attribute,"antialias") == 0)