From: Cristy Date: Mon, 8 Apr 2019 12:27:28 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-40~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0728cff7158b1330435cd22d5c59423b4b9c04cb;p=imagemagick ... --- diff --git a/MagickCore/cache.c b/MagickCore/cache.c index db0c10308..f72ff55b6 100644 --- a/MagickCore/cache.c +++ b/MagickCore/cache.c @@ -470,9 +470,7 @@ static MagickBooleanType ClipPixelCacheNexus(Image *image, p+=GetPixelChannels(image); q+=GetPixelChannels(image); } - if (n < (ssize_t) number_pixels) - return(MagickFalse); - return(MagickTrue); + return(n < (ssize_t) number_pixels ? MagickFalse : MagickTrue); } /*