From 03e23ab2b38ecbdf836ae3c11edd659153764491 Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 23 Aug 2012 12:25:01 +0000 Subject: [PATCH] --- MagickWand/magick-image.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, -- 2.40.0