summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'pdf')
-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 d9691be5..1dd591ab 100644
--- a/pdf/pdf_xref.c
+++ b/pdf/pdf_xref.c
@@ -527,7 +527,7 @@ pdf_open_xref_with_stream(pdf_xref **xrefp, fz_stream *file, char *password)
fz_context *ctx = file->ctx;
/* install pdf specific callback */
- ctx->fz_resolve_indirect = pdf_resolve_indirect;
+ ctx->resolve_indirect = pdf_resolve_indirect;
xref = fz_calloc(ctx, 1, sizeof(pdf_xref));