From fcd785bb178ee2078ca2ec0c1cb0aec9051e5ab7 Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 8 Nov 2011 01:48:33 +0000 Subject: [PATCH] --- MagickWand/mogrify.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c index e194c1ec6..6061d9955 100644 --- a/MagickWand/mogrify.c +++ b/MagickWand/mogrify.c @@ -297,10 +297,6 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, % */ -/* - GetImageCache() will read an image into a image cache if not already - present then return the image that is in the cache under that filename. -*/ static inline Image *GetImageCache(const ImageInfo *image_info,const char *path, ExceptionInfo *exception) { @@ -316,6 +312,10 @@ static inline Image *GetImageCache(const ImageInfo *image_info,const char *path, ImageInfo *read_info; + /* + Read an image into a image cache if not already present. Return the image + that is in the cache under that filename. + */ (void) FormatLocaleString(key,MaxTextExtent,"cache:%s",path); sans_exception=AcquireExceptionInfo(); image=(Image *) GetImageRegistry(ImageRegistryType,key,sans_exception); -- 2.40.0