(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 28 Jan 2013 00:21:17 +0000 (00:21 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 28 Jan 2013 00:21:17 +0000 (00:21 +0000)
MagickCore/cache.c

index 6fc87875e0c37d8b824f88a5d5255a9673e573aa..cbcb37a5a016db6c135a8617cbe783f5910f3b8b 100644 (file)
@@ -530,11 +530,11 @@ static MagickBooleanType ClonePixelCacheRepository(CacheInfo *clone_info,
     return(MagickTrue);
   length=cache_info->number_channels*sizeof(*cache_info->channel_map);
   if (((cache_info->type == MemoryCache) || (cache_info->type == MapCache)) &&
-      ((cache_info->type == clone_info->type) &&
-       (cache_info->columns == clone_info->columns) &&
-       (cache_info->rows == clone_info->rows) &&
-       (cache_info->number_channels == clone_info->number_channels) &&
-       (memcmp(cache_info->channel_map,clone_info->channel_map,length) == 0))
+      (cache_info->type == clone_info->type) &&
+      (cache_info->columns == clone_info->columns) &&
+      (cache_info->rows == clone_info->rows) &&
+      (cache_info->number_channels == clone_info->number_channels) &&
+      (memcmp(cache_info->channel_map,clone_info->channel_map,length) == 0))
     {
       /*
         Identical pixel cache morphology.