]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 23 Aug 2012 12:25:01 +0000 (12:25 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 23 Aug 2012 12:25:01 +0000 (12:25 +0000)
MagickWand/magick-image.c

index c01f4e2e738d1008bee28ee7003fb924854eaf53..33f8a94864d957d02814d2de98b1971a882eb1a3 100644 (file)
@@ -4712,7 +4712,7 @@ WandExport char *MagickGetImageFilename(MagickWand *wand)
 %
 %  The format of the MagickGetImageFormat method is:
 %
-%      const char *MagickGetImageFormat(MagickWand *wand)
+%      char *MagickGetImageFormat(MagickWand *wand)
 %
 %  A description of each parameter follows:
 %
@@ -4723,9 +4723,8 @@ WandExport char *MagickGetImageFormat(MagickWand *wand)
 {
   assert(wand != (MagickWand *) NULL);
   assert(wand->signature == WandSignature);
-  if( IfMagickTrue(wand->debug) )
+  if (IfMagickTrue(wand->debug))
     (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
-
   if (wand->images == (Image *) NULL)
     {
       (void) ThrowMagickException(wand->exception,GetMagickModule(),WandError,