From: cristy Date: Thu, 23 Aug 2012 12:25:01 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5072 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03e23ab2b38ecbdf836ae3c11edd659153764491;p=imagemagick --- diff --git a/MagickWand/magick-image.c b/MagickWand/magick-image.c index c01f4e2e7..33f8a9486 100644 --- a/MagickWand/magick-image.c +++ b/MagickWand/magick-image.c @@ -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,