diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-03-09 00:40:26 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-03-23 11:12:30 +0100 |
commit | 4b3c02180d49403a4e477e494ed233ac2c672bd8 (patch) | |
tree | e7ee210130d218ff85925fb6a5dcd802dddcb51a /source | |
parent | 6566ba699db063b8a940660d5856d628cce2d69c (diff) | |
download | mupdf-4b3c02180d49403a4e477e494ed233ac2c672bd8.tar.xz |
Pass context to pdf_page_contents_process callback.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-clean.c | 2 |
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); |