]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 11 Dec 2010 23:36:38 +0000 (23:36 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 11 Dec 2010 23:36:38 +0000 (23:36 +0000)
PerlMagick/Magick.xs

index e729ee1afb84a9d6170774d35eff14a2e5fc9b37..9f29d86ab5553cce009178df98f2a082d527ef26 100644 (file)
@@ -3196,6 +3196,7 @@ Compare(ref,...)
             {
               reconstruct_image=SetupList(aTHX_ SvRV(ST(i)),
                 (struct PackageInfo **) NULL,(SV ***) NULL,exception);
+              break;
             }
           ThrowPerlException(exception,OptionError,"UnrecognizedAttribute",
             attribute);
@@ -3214,7 +3215,7 @@ Compare(ref,...)
                     SvPV(ST(i),na));
                   break;
                 }
-               metric=(MetricType) option;
+              metric=(MetricType) option;
               break;
             }
           ThrowPerlException(exception,OptionError,"UnrecognizedAttribute",