From 947430c27027e1faae6087937fcddea5430091d3 Mon Sep 17 00:00:00 2001 From: dirk Date: Sun, 12 Oct 2014 18:53:34 +0000 Subject: [PATCH] Added missing comment and newlines fix. --- MagickCore/nt-base.c | 2 ++ coders/ps.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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); -- 2.40.0