summaryrefslogtreecommitdiff
path: root/pdf/pdf_xref.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-02-06 16:10:07 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-02-06 16:10:07 +0100
commit5cd45b68ad936006f3783abbcc064658d5e3508a (patch)
tree8abc09eada6f28b68194b13c269707d8ed6b4161 /pdf/pdf_xref.c
parent499c0e9b6d7a7ea537b90b33af2b3d655102a597 (diff)
downloadmupdf-5cd45b68ad936006f3783abbcc064658d5e3508a.tar.xz
Pass context to cmap and font descriptor functions.
Diffstat (limited to 'pdf/pdf_xref.c')
-rw-r--r--pdf/pdf_xref.c2
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)