summaryrefslogtreecommitdiff
path: root/ios/document.c
diff options
context:
space:
mode:
Diffstat (limited to 'ios/document.c')
-rw-r--r--ios/document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/document.c b/ios/document.c
index 3d014d6b..5531a980 100644
--- a/ios/document.c
+++ b/ios/document.c
@@ -19,7 +19,7 @@ open_document(fz_context *ctx, char *filename)
{
if (strstr(filename, ".pdf") || strstr(filename, ".PDF"))
{
- doc->pdf = pdf_open_xref(ctx, filename, NULL);
+ doc->pdf = pdf_open_xref(ctx, filename);
pdf_load_page_tree(doc->pdf);
}
else if (strstr(filename, ".xps") || strstr(filename, ".XPS"))