diff options
Diffstat (limited to 'psi')
-rw-r--r-- | psi/zpdfops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/psi/zpdfops.c b/psi/zpdfops.c index e55267729..1a082d638 100644 --- a/psi/zpdfops.c +++ b/psi/zpdfops.c @@ -1270,6 +1270,8 @@ static int zPDFInit(i_ctx_t *i_ctx_p) if (!r_has_type(pvalueref, t_boolean)) goto error; pdfctx->ctx->args.pdfstoponwarning = pvalueref->value.boolval; + if (pvalueref->value.boolval) + pdfctx->ctx->args.pdfstoponerror = pvalueref->value.boolval; } if (dict_find_string(pdictref, "NOTRANSPARENCY", &pvalueref) > 0) { |