From 0728cff7158b1330435cd22d5c59423b4b9c04cb Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 8 Apr 2019 08:27:28 -0400 Subject: [PATCH] ... --- MagickCore/cache.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); } /* -- 2.40.0