From: Cristy Date: Sat, 8 Sep 2018 17:20:17 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-12~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbff20b7686f2fbc006e5636ddee7c932edc473a;p=imagemagick ... --- diff --git a/coders/pdf.c b/coders/pdf.c index c030bff8c..57dbefc39 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) || (status == -100)) + if (status == 0) 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 572624f58..f36f40056 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) || (status == -100)) + if (status == 0) status=(ghost_info->run_string)(interpreter,"systemdict /start get exec\n", 0,&code); (ghost_info->exit)(interpreter);