]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 19 Apr 2013 12:31:58 +0000 (12:31 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 19 Apr 2013 12:31:58 +0000 (12:31 +0000)
MagickCore/cache.c

index 2aa60ac21776c9e28dbd90523c91bebaa4b61153..f0911c0de7cbdb41a5d172a9ca0519c3828a7090 100644 (file)
@@ -4699,7 +4699,7 @@ static Quantum *SetPixelCacheNexusPixels(const CacheInfo *cache_info,
         }
     }
   else
-    if (nexus_info->length != length)
+    if (nexus_info->length < length)
       {
         RelinquishCacheNexusPixels(nexus_info);
         nexus_info->length=length;