]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 8 Nov 2011 01:48:33 +0000 (01:48 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 8 Nov 2011 01:48:33 +0000 (01:48 +0000)
MagickWand/mogrify.c

index e194c1ec6a3fb4dfbea6fb303e6ee62000ccb925..6061d99550800bde09c929e37264d30151a1acc9 100644 (file)
@@ -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);