]> granicus.if.org Git - imagemagick/commitdiff
Added missing comment and newlines fix.
authordirk <dirk@git.imagemagick.org>
Sun, 12 Oct 2014 18:53:34 +0000 (18:53 +0000)
committerdirk <dirk@git.imagemagick.org>
Sun, 12 Oct 2014 18:53:34 +0000 (18:53 +0000)
MagickCore/nt-base.c
coders/ps.c

index 9a29901436cb227f4f76c251c5255326cd77434d..52fd5d6c802646d9bd12deffd0bdfde4cb892bfe 100644 (file)
@@ -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)
 {
index 5f73e3927b46df856e6d6091d35acc82b9b888db..529e2b7a602937531b60700b8fb79a327c7907e8 100644 (file)
@@ -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)
-    {\r
-      if (*output != '\0')\r
-        (void) ThrowMagickException(exception,GetMagickModule(),\r
+    {
+      if (*output != '\0')
+        (void) ThrowMagickException(exception,GetMagickModule(),
           DelegateError,"PostscriptDelegateFailed","`%s'",output);
       image=DestroyImageList(image);
       return((Image *) NULL);