summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-02-26 15:16:34 +0100
committerRobin Watts <robin.watts@artifex.com>2015-03-24 13:42:44 +0000
commite0f638b398b2362f5843ea0c1907f678cfa8e278 (patch)
tree0f771d162c7f2c18f18bb12c8be86cdca06aaaeb /source/fitz
parent4b3c02180d49403a4e477e494ed233ac2c672bd8 (diff)
downloadmupdf-e0f638b398b2362f5843ea0c1907f678cfa8e278.tar.xz
Don't pass interpreter context to pdf_processor opcode callbacks.
Update buffer and filter processors. Filter both colors and stroke states. Move OCG hiding logic into interpreter.
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/draw-blend.c2
-rw-r--r--source/fitz/list-device.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/draw-blend.c b/source/fitz/draw-blend.c
index 62666fc5..ea5d30bc 100644
--- a/source/fitz/draw-blend.c
+++ b/source/fitz/draw-blend.c
@@ -25,7 +25,7 @@ static const char *fz_blendmode_names[] =
"Luminosity",
};
-int fz_lookup_blendmode(char *name)
+int fz_lookup_blendmode(const char *name)
{
int i;
for (i = 0; i < nelem(fz_blendmode_names); i++)
diff --git a/source/fitz/list-device.c b/source/fitz/list-device.c
index fc2bb3f8..738499b1 100644
--- a/source/fitz/list-device.c
+++ b/source/fitz/list-device.c
@@ -954,7 +954,7 @@ fz_list_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_ma
&rect,
NULL, /* path */
NULL, /* color */
- NULL, /* colorspace */
+ NULL, /* colorspace */
&alpha, /* alpha */
ctm,
NULL, /* stroke */