summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-interpret.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2017-04-10 10:17:07 -0700
committerRobin Watts <robin.watts@artifex.com>2017-06-16 16:13:18 +0100
commit691a6b2c26767186ee7e0e7d0813391f41ac0850 (patch)
treef6f22dcba9c4976e46b23a7ce0c179b18900fc7c /source/pdf/pdf-interpret.c
parentf631dc0ebc7910d4ef1b6e41bc36b1bfaf101a50 (diff)
downloadmupdf-691a6b2c26767186ee7e0e7d0813391f41ac0850.tar.xz
Strip doc out of color space load method
Also the pdf_load_function call. Doc was not used in either of these.
Diffstat (limited to 'source/pdf/pdf-interpret.c')
-rw-r--r--source/pdf/pdf-interpret.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-interpret.c b/source/pdf/pdf-interpret.c
index 577bd818..f98326e6 100644
--- a/source/pdf/pdf-interpret.c
+++ b/source/pdf/pdf-interpret.c
@@ -393,7 +393,7 @@ pdf_process_CS(fz_context *ctx, pdf_processor *proc, pdf_csi *csi, int stroke)
csobj = pdf_dict_gets(ctx, csres, csi->name);
if (!csobj)
fz_throw(ctx, FZ_ERROR_SYNTAX, "cannot find ColorSpace resource '%s'", csi->name);
- cs = pdf_load_colorspace(ctx, csi->doc, csobj);
+ cs = pdf_load_colorspace(ctx, csobj);
}
fz_try(ctx)