From 26645017b983b22ccab5340341e79a55df20494d Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 23 Aug 2015 20:24:30 -0400 Subject: [PATCH] Missing parenthesis --- MagickCore/module.c | 2 +- coders/miff.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/module.c b/MagickCore/module.c index 37f9a4f31..1c114ec2a 100644 --- a/MagickCore/module.c +++ b/MagickCore/module.c @@ -1354,7 +1354,7 @@ MagickPrivate MagickBooleanType OpenModules(ExceptionInfo *exception) (void) GetMagickInfo((char *) NULL,exception); number_modules=0; modules=GetModuleList("*",MagickImageCoderModule,&number_modules,exception); - if ((modules == (char **) NULL) || (*modules == (char *) NULL) + if ((modules == (char **) NULL) || (*modules == (char *) NULL)) { if (modules != (char **) NULL) modules=(char **) RelinquishMagickMemory(modules); diff --git a/coders/miff.c b/coders/miff.c index a7b870b38..cb8753547 100644 --- a/coders/miff.c +++ b/coders/miff.c @@ -2049,7 +2049,7 @@ static MagickBooleanType WriteMIFFImage(const ImageInfo *image_info, /* Write MIFF header. */ - (void) WriteBlobString(image,"id=ImageMagick version=2.0\n"); + (void) WriteBlobString(image,"id=ImageMagick version=1.0\n"); (void) FormatLocaleString(buffer,MagickPathExtent, "class=%s colors=%.20g alpha-trait=%s\n",CommandOptionToMnemonic( MagickClassOptions,image->storage_class),(double) image->colors, -- 2.40.0