From abc1743cc95543880808f6b4f97221063259d23b Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 8 Sep 2018 13:01:43 -0400 Subject: [PATCH] ... --- coders/pdf.c | 2 +- coders/ps.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coders/pdf.c b/coders/pdf.c index 57dbefc39..c030bff8c 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -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); diff --git a/coders/ps.c b/coders/ps.c index f36f40056..572624f58 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -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); -- 2.40.0