summaryrefslogtreecommitdiff
path: root/source/html/epub-doc.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-02-06 13:31:47 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-02-06 17:10:40 +0100
commitf95ec7d7093dec14c2fdf00eb9dace54d4cbe1f5 (patch)
treed3e9e807344d658531eb5be44acbd4178395f523 /source/html/epub-doc.c
parentc100c4c77a88782ba5c4634994171db611952d44 (diff)
downloadmupdf-f95ec7d7093dec14c2fdf00eb9dace54d4cbe1f5.tar.xz
Make sure to fill in 'doc' field of HTML links.
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;
}