From: cristy Date: Tue, 8 Nov 2011 01:48:33 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6674 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcd785bb178ee2078ca2ec0c1cb0aec9051e5ab7;p=imagemagick --- 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);