]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 11 Mar 2010 13:34:19 +0000 (13:34 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 11 Mar 2010 13:34:19 +0000 (13:34 +0000)
magick/image.c
magick/transform.c

index 8759d63f45bd89625050d142c168d2274ad64ad7..9c6610fba757876cc05940c24c29b4c14199de0d 100644 (file)
@@ -2365,7 +2365,7 @@ MagickExport MagickBooleanType SeparateImageChannel(Image *image,
     Separate image channels.
   */
   status=MagickTrue;
-  if ( channel == GrayChannels )
+  if (channel == GrayChannels)
     image->matte=MagickTrue;
   progress=0;
   exception=(&image->exception);
@@ -2489,7 +2489,7 @@ MagickExport MagickBooleanType SeparateImageChannel(Image *image,
       }
   }
   image_view=DestroyCacheView(image_view);
-  if ( channel != GrayChannels )
+  if (channel != GrayChannels)
     image->matte=MagickFalse;
   (void) SetImageColorspace(image,RGBColorspace);
   return(status);
index e54104319f5b38692d89802daf3b82b5beb8a9a5..b458c12fa38229b8a817957d617a0eeaa3b592ee 100644 (file)
@@ -1165,7 +1165,7 @@ static inline MagickBooleanType CopyImageRegion(Image *destination,
         status=MagickFalse;
         continue;
       }
-    indexes=GetCacheViewAuthenticIndexQueue(source_view);
+    indexes=GetCacheViewVirtualIndexQueue(source_view);
     for (x=0; x < (long) columns; x++)
       *q++=(*p++);
     if (indexes != (IndexPacket *) NULL)