summaryrefslogtreecommitdiff
path: root/source/html/epub-doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/epub-doc.c')
-rw-r--r--source/html/epub-doc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/epub-doc.c b/source/html/epub-doc.c
index 53976f78..41b21361 100644
--- a/source/html/epub-doc.c
+++ b/source/html/epub-doc.c
@@ -75,7 +75,7 @@ epub_update_outline(fz_context *ctx, fz_document *doc, fz_outline *node)
{
while (node)
{
- node->page = epub_resolve_link(ctx, doc, node->uri, NULL, NULL);
+ node->page = epub_resolve_link(ctx, doc, node->uri, &node->x, &node->y);
epub_update_outline(ctx, doc, node->down);
node = node->next;
}