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 3cfa3f06..dab46155 100644
--- a/source/html/epub-doc.c
+++ b/source/html/epub-doc.c
@@ -171,7 +171,7 @@ epub_load_links(fz_context *ctx, fz_page *page_)
{
int cn = ceilf(ch->html->root->h / ch->html->page_h);
if (n < count + cn)
- return fz_load_html_links(ctx, ch->html, n - count, ch->path);
+ return fz_load_html_links(ctx, ch->html, n - count, ch->path, doc);
count += cn;
}