From: cristy Date: Mon, 7 Sep 2009 23:02:08 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~10758 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b320534feeb3529d334b29efe55c5adab68dbbb4;p=imagemagick --- diff --git a/coders/pdf.c b/coders/pdf.c index 765830de4..058b499cc 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -186,7 +186,7 @@ static MagickBooleanType InvokePostscriptDelegate( for (i=0; i < (long) argc; i++) argv[i]=DestroyString(argv[i]); argv=(char **) RelinquishMagickMemory(argv); - if ((status == 0) || (status <= -100)) + if ((status <= -1) && (status >= -100)) { char *message; diff --git a/coders/ps.c b/coders/ps.c index cd23bd87d..64a6e6815 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -180,7 +180,7 @@ static MagickBooleanType InvokePostscriptDelegate( for (i=0; i < (long) argc; i++) argv[i]=DestroyString(argv[i]); argv=(char **) RelinquishMagickMemory(argv); - if ((status == 0) || (status <= -100)) + if ((status <= -1) && (status >= -100)) { char *message;