From: dirk Date: Sun, 12 Oct 2014 18:53:34 +0000 (+0000) Subject: Added missing comment and newlines fix. X-Git-Tag: 7.0.1-0~1893 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=947430c27027e1faae6087937fcddea5430091d3;p=imagemagick Added missing comment and newlines fix. --- diff --git a/MagickCore/nt-base.c b/MagickCore/nt-base.c index 9a2990143..52fd5d6c8 100644 --- a/MagickCore/nt-base.c +++ b/MagickCore/nt-base.c @@ -2132,6 +2132,8 @@ MagickPrivate int NTSyncMemory(void *address,size_t length,int flags) % % o command: This string is the command to execute. % +% o output: an optional buffer to store the output from stderr/stdout. +% */ MagickPrivate int NTSystemCommand(const char *command,char *output) { diff --git a/coders/ps.c b/coders/ps.c index 5f73e3927..529e2b7a6 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -898,9 +898,9 @@ static Image *ReadPSImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) RelinquishUniqueFileResource(read_info->filename); read_info=DestroyImageInfo(read_info); if (postscript_image == (Image *) NULL) - { - if (*output != '\0') - (void) ThrowMagickException(exception,GetMagickModule(), + { + if (*output != '\0') + (void) ThrowMagickException(exception,GetMagickModule(), DelegateError,"PostscriptDelegateFailed","`%s'",output); image=DestroyImageList(image); return((Image *) NULL);