summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-03-09 00:40:26 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-03-23 11:12:30 +0100
commit4b3c02180d49403a4e477e494ed233ac2c672bd8 (patch)
treee7ee210130d218ff85925fb6a5dcd802dddcb51a /source/pdf
parent6566ba699db063b8a940660d5856d628cce2d69c (diff)
downloadmupdf-4b3c02180d49403a4e477e494ed233ac2c672bd8.tar.xz
Pass context to pdf_page_contents_process callback.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-clean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-clean.c b/source/pdf/pdf-clean.c
index 7a72a2e2..4bdaae7b 100644
--- a/source/pdf/pdf-clean.c
+++ b/source/pdf/pdf-clean.c
@@ -244,7 +244,7 @@ void pdf_clean_page_contents(fz_context *ctx, pdf_document *doc, pdf_page *page,
/* Properties - no cleaning possible. */
if (proc_fn)
- (*proc_fn)(proc_arg, buffer, res);
+ (*proc_fn)(ctx, buffer, res, proc_arg);
pdf_update_stream(ctx, doc, contents, buffer, 0);