summaryrefslogtreecommitdiff
path: root/psi/zcolor.c
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2019-05-02 16:40:18 +0100
committerKen Sharp <ken.sharp@artifex.com>2019-05-02 16:40:18 +0100
commit22d88ad48409a130007976ae26536cc9d99c16d9 (patch)
tree07fad9b5b2ab3c7c088cdfb4763c02b52cc3db88 /psi/zcolor.c
parent7c70031f8be95585bcf439d12e552d386e4e2125 (diff)
downloadghostpdl-22d88ad48409a130007976ae26536cc9d99c16d9.tar.gz
Fix an oversight in DeviceN attributes processing
If we have no Colorants entry we still want to check for a Process entry, but to do so we need to signal to setcolorspace_cont(), the routine which calls this one, that we do want to keep processing the colour space.
Diffstat (limited to 'psi/zcolor.c')
-rw-r--r--psi/zcolor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/psi/zcolor.c b/psi/zcolor.c
index 20c46e0ec..59c944d6f 100644
--- a/psi/zcolor.c
+++ b/psi/zcolor.c
@@ -3903,6 +3903,7 @@ static int setdevicenspace(i_ctx_t * i_ctx_p, ref *devicenspace, int *stage, int
if (dict_find_string(&sref, "Colorants", &colorants) <= 0) {
/* Even if there is no Colorants dictionary, there may still be a /Process dictionary */
*stage = 3;
+ *cont = 1;
return 0;
}
if (!r_has_type(colorants, t_dictionary)) {