]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 14 Jun 2015 20:41:44 +0000 (20:41 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 14 Jun 2015 20:41:44 +0000 (20:41 +0000)
MagickCore/cache.c

index ec6fa60450b62e535ff539e7d5d85d0be7654554..4a3233be89e601707a14086cbb58dc9c0e21b458 100644 (file)
@@ -575,7 +575,7 @@ static MagickBooleanType ClonePixelCacheRepository(
               clone_info->metacontent_extent*sizeof(unsigned char));
           return(MagickTrue);
         }
-      if ((cache_info->type == DiskCache) && (cache_info->type == DiskCache))
+      if ((cache_info->type == DiskCache) && (clone_info->type == DiskCache))
         return(ClonePixelCacheOnDisk(cache_info,clone_info,exception));
     }
   /*