diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-06 16:10:07 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-06 16:10:07 +0100 |
commit | 5cd45b68ad936006f3783abbcc064658d5e3508a (patch) | |
tree | 8abc09eada6f28b68194b13c269707d8ed6b4161 /pdf/pdf_xref.c | |
parent | 499c0e9b6d7a7ea537b90b33af2b3d655102a597 (diff) | |
download | mupdf-5cd45b68ad936006f3783abbcc064658d5e3508a.tar.xz |
Pass context to cmap and font descriptor functions.
Diffstat (limited to 'pdf/pdf_xref.c')
-rw-r--r-- | pdf/pdf_xref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_xref.c b/pdf/pdf_xref.c index d1badc79..210c2f44 100644 --- a/pdf/pdf_xref.c +++ b/pdf/pdf_xref.c @@ -339,7 +339,7 @@ pdf_read_new_xref(pdf_document *xref, char *buf, int cap) index = fz_dict_gets(trailer, "Index"); - stm = pdf_open_stream_at(xref, num, gen, trailer, stm_ofs); + stm = pdf_open_stream_with_offset(xref, num, gen, trailer, stm_ofs); /* RJW: Ensure pdf_open_stream does fz_throw(ctx, "cannot open compressed xref stream (%d %d R)", num, gen); */ if (!index) |