diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2023-02-28 12:51:57 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2023-02-28 12:54:36 +0000 |
commit | 6e6289cc9ef54735dda112876b9f3f4a174d59c9 (patch) | |
tree | 1173b4b98aed0a553f31a7408d22277b9da33349 /pcl | |
parent | 73ec444add8554a165a11b7c69e270f04528c935 (diff) | |
download | ghostpdl-6e6289cc9ef54735dda112876b9f3f4a174d59c9.tar.gz |
Avoid GPDL 'pass_param_to_languages' early termination.
Only stop passing params to languages on an error, not on
a non-zero return code.
This was causing arguments not to make it to SO for processing.
Diffstat (limited to 'pcl')
-rw-r--r-- | pcl/pl/plmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcl/pl/plmain.c b/pcl/pl/plmain.c index 817da543c..c2c4b8818 100644 --- a/pcl/pl/plmain.c +++ b/pcl/pl/plmain.c @@ -1566,7 +1566,7 @@ pass_param_to_languages(pl_main_instance_t *pmi, for (imp = pmi->implementations; *imp != NULL; imp++) { code = pl_set_param(*imp, plist); - if (code != 0) + if (code < 0) break; } |