diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 13:03:07 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 13:23:57 +0100 |
commit | 2216f9402a9ddf232e15fdd508b9123011af8bd3 (patch) | |
tree | 3b4e44be0e332bb9d957864fcde41057ed0fcb79 /platform/gl | |
parent | 018253cfc8a34805c4fc1e0f955e3696db60886a (diff) | |
download | mupdf-2216f9402a9ddf232e15fdd508b9123011af8bd3.tar.xz |
Add/fix page coordinates to link targets.
Correctly transformed target coordinates for PDF.
Target coordinates for EPUB and HTML.
Diffstat (limited to 'platform/gl')
-rw-r--r-- | platform/gl/gl-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c index 2a46e1b1..557d616a 100644 --- a/platform/gl/gl-main.c +++ b/platform/gl/gl-main.c @@ -589,7 +589,7 @@ static void do_links(fz_link *link, int xofs, int yofs) if (fz_is_external_link(ctx, link->uri)) open_browser(link->uri); else - jump_to_page(fz_resolve_link(ctx, doc, link->uri)); + jump_to_page(fz_resolve_link(ctx, doc, link->uri, NULL, NULL)); } ui_needs_update = 1; } |