summaryrefslogtreecommitdiff
path: root/pcl
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2023-02-28 12:51:57 +0000
committerRobin Watts <Robin.Watts@artifex.com>2023-02-28 12:54:36 +0000
commit6e6289cc9ef54735dda112876b9f3f4a174d59c9 (patch)
tree1173b4b98aed0a553f31a7408d22277b9da33349 /pcl
parent73ec444add8554a165a11b7c69e270f04528c935 (diff)
downloadghostpdl-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.c2
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;
}