]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/artifact.c
(no commit message)
[imagemagick] / MagickCore / artifact.c
index 41ca65abfc08c49eef32d45ee1ebd0faab815fe3..b51c7114702ed3403e0ddedfe57f8471dc839b33 100644 (file)
@@ -13,7 +13,7 @@
 %                         MagickCore Artifact Methods                         %
 %                                                                             %
 %                              Software Design                                %
-%                                John Cristy                                  %
+%                                   Cristy                                    %
 %                                 March 2000                                  %
 %                                                                             %
 %                                                                             %
@@ -295,20 +295,10 @@ MagickExport const char *GetImageArtifact(const Image *image,
       if (p != (const char *) NULL)
         return(p);
     }
-  /*
-    Programmer notes:
-
-    CLI IMv7: if no per-image artifact - look for a global option instead CLI
-    IMv6: global options are copied into per-image artifacts In all other
-    cases, if image is not part of an image_info image list this pointer
-    should be NULL, an no global image options are available.
-  */
-  if ((image->image_info != (ImageInfo *)NULL) &&
+  if ((image->image_info != (ImageInfo *) NULL) &&
       (image->image_info->options != (void *) NULL))
-{
     p=(const char *) GetValueFromSplayTree((SplayTreeInfo *)
       image->image_info->options,artifact);
-}
   return(p);
 }
 \f