From c3517d76723063e3fdfa57a92ea89deff4e5f344 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 6 May 2018 18:27:04 -0400 Subject: [PATCH] ... --- MagickCore/cache.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/MagickCore/cache.c b/MagickCore/cache.c index 0b4d8dbb8..5c19bca72 100644 --- a/MagickCore/cache.c +++ b/MagickCore/cache.c @@ -1779,7 +1779,8 @@ MagickExport MagickBooleanType GetOneAuthenticPixel(Image *image, assert(cache_info->signature == MagickCoreSignature); (void) memset(pixel,0,MaxPixelChannels*sizeof(*pixel)); if (cache_info->methods.get_one_authentic_pixel_from_handler != (GetOneAuthenticPixelFromHandler) NULL) - return(cache_info->methods.get_one_authentic_pixel_from_handler(image,x,y,pixel,exception)); + return(cache_info->methods.get_one_authentic_pixel_from_handler(image,x,y, + pixel,exception)); q=GetAuthenticPixelsCache(image,x,y,1UL,1UL,exception); return(CopyPixel(image,q,pixel)); } @@ -1888,8 +1889,7 @@ MagickExport MagickBooleanType GetOneVirtualPixel(const Image *image, cache_info=(CacheInfo *) image->cache; assert(cache_info->signature == MagickCoreSignature); (void) memset(pixel,0,MaxPixelChannels*sizeof(*pixel)); - if (cache_info->methods.get_one_virtual_pixel_from_handler != - (GetOneVirtualPixelFromHandler) NULL) + if (cache_info->methods.get_one_virtual_pixel_from_handler != (GetOneVirtualPixelFromHandler) NULL) return(cache_info->methods.get_one_virtual_pixel_from_handler(image, GetPixelCacheVirtualMethod(image),x,y,pixel,exception)); assert(id < (int) cache_info->number_threads); @@ -4686,8 +4686,7 @@ MagickPrivate void SetPixelCacheMethods(Cache cache,CacheMethods *cache_methods) cache_methods->get_authentic_metacontent_from_handler; get_one_virtual_pixel_from_handler= cache_info->methods.get_one_virtual_pixel_from_handler; - if (get_one_virtual_pixel_from_handler != - (GetOneVirtualPixelFromHandler) NULL) + if (get_one_virtual_pixel_from_handler != (GetOneVirtualPixelFromHandler) NULL) cache_info->methods.get_one_virtual_pixel_from_handler= cache_methods->get_one_virtual_pixel_from_handler; get_one_authentic_pixel_from_handler= -- 2.40.0