]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 10 Apr 2014 00:13:05 +0000 (00:13 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 10 Apr 2014 00:13:05 +0000 (00:13 +0000)
MagickCore/configure.c
MagickCore/delegate.c
MagickCore/magick.c
MagickCore/mime.c

index dd984b8dcacb7d5b3e42a8d0290a94af5d7f57e6..a3f10e3ad1a1c918f32cfef54b066bd13acd65be 100644 (file)
@@ -1106,7 +1106,8 @@ MagickExport MagickBooleanType ListConfigureInfo(FILE *file,
 %  The format of the LoadConfigureCache method is:
 %
 %      MagickBooleanType LoadConfigureCache(LinkedListInfo *configure_cache,
-%        const char *xml,const char *filename,const size_t depth,ExceptionInfo *exception)
+%        const char *xml,const char *filename,const size_t depth,
+%        ExceptionInfo *exception)
 %
 %  A description of each parameter follows:
 %
index c393949c8b4bc16fc139879fa437d0d720fd75a6..04defce0e42d24e8471f9867faf5e74076baf9c8 100644 (file)
@@ -212,7 +212,7 @@ static LinkedListInfo *AcquireDelegateCache(const char *filename,
 %                                                                             %
 %                                                                             %
 %                                                                             %
-+   D e l e g a t e C o m p o n e n t T e r m i n u s                         %
++   D e l e g a t e C o m p o n e n t G e n e s i s                           %
 %                                                                             %
 %                                                                             %
 %                                                                             %
index 55cb6718519ab775cdb3e0a141494ee8a61a072a..70a90aad90032dc64d79c18c5056a1bf1a0c3252 100644 (file)
@@ -853,7 +853,7 @@ static MagickBooleanType IsMagickTreeInstantiated(ExceptionInfo *exception)
             *magick_info;
 
           magick_list=NewSplayTree(CompareSplayTreeString,(void *(*)(void *))
-            NULL, DestroyMagickNode);
+            NULL,DestroyMagickNode);
           if (magick_list == (SplayTreeInfo *) NULL)
             ThrowFatalException(ResourceLimitFatalError,
               "MemoryAllocationFailed");
index 6db567e3c85c51501dc3b5997ddc41e746ff1a58..e677aff17c20babcf9c856a536fb804d442a824a 100644 (file)
@@ -764,14 +764,14 @@ MagickExport MagickBooleanType ListMimeInfo(FILE *file,ExceptionInfo *exception)
 %                                                                             %
 %                                                                             %
 %                                                                             %
-+   L o a d M i m e L i s t                                                   %
++   L o a d M i m e C a c h e                                                 %
 %                                                                             %
 %                                                                             %
 %                                                                             %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-%  LoadMimeCache() loads the magic configurations which provides a mapping
-%  between magic attributes and a magic name.
+%  LoadMimeCache() loads the mime configurations which provides a mapping
+%  between mime attributes and a mime name.
 %
 %  The format of the LoadMimeCache method is:
 %
@@ -959,7 +959,8 @@ static MagickBooleanType LoadMimeCache(LinkedListInfo *mime_cache,
     if (attribute != (const char *) NULL)
       mime_info->priority=(ssize_t) strtol(attribute,(char **) NULL,0);
     attribute=GetXMLTreeAttribute(mime,"stealth");
-    mime_info->stealth=IsStringTrue(attribute);
+    if (attribute != (const char *) NULL)
+      mime_info->stealth=IsStringTrue(attribute);
     attribute=GetXMLTreeAttribute(mime,"type");
     if (attribute != (const char *) NULL)
       mime_info->type=ConstantString(attribute);