]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 8 Sep 2018 17:01:43 +0000 (13:01 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 8 Sep 2018 17:01:43 +0000 (13:01 -0400)
coders/pdf.c
coders/ps.c

index 57dbefc394550b0c482cfc3a7fef9d2afda052c0..c030bff8c84ae6e6a984054aefc518d19f628f66 100644 (file)
@@ -256,7 +256,7 @@ static MagickBooleanType InvokePDFDelegate(const MagickBooleanType verbose,
   (void) (ghost_info->set_stdio)(interpreter,(int (MagickDLLCall *)(void *,
     char *,int)) NULL,PDFDelegateMessage,PDFDelegateMessage);
   status=(ghost_info->init_with_args)(interpreter,argc-1,argv+1);
-  if (status == 0)
+  if ((status == 0) || (status == -100))
     status=(ghost_info->run_string)(interpreter,"systemdict /start get exec\n",
       0,&code);
   (ghost_info->exit)(interpreter);
index f36f40056280a6ae641a584569252fa34a1c7924..572624f5808ae9eea40436ab5ed850eb157e37c1 100644 (file)
@@ -246,7 +246,7 @@ static MagickBooleanType InvokePostscriptDelegate(
   (void) (ghost_info->set_stdio)(interpreter,(int (MagickDLLCall *)(void *,
     char *,int)) NULL,PostscriptDelegateMessage,PostscriptDelegateMessage);
   status=(ghost_info->init_with_args)(interpreter,argc-1,argv+1);
-  if (status == 0)
+  if ((status == 0) || (status == -100))
     status=(ghost_info->run_string)(interpreter,"systemdict /start get exec\n",
       0,&code);
   (ghost_info->exit)(interpreter);