diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-12-16 00:17:35 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-12-16 00:17:35 +0000 |
commit | 45f7336daf30afcaeb4b53e54255fa710f276bb2 (patch) | |
tree | 04fddf12d02ee347034666554581131f18fc56e2 /apps | |
parent | 64ef4a1f140d00ae80c945f5324a60479b376c80 (diff) | |
download | mupdf-45f7336daf30afcaeb4b53e54255fa710f276bb2.tar.xz |
Store full destination array instead of only the page reference in the link struct.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfapp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 63149512..1f451f33 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -839,7 +839,7 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta if (link->kind == PDF_LURI) pdfapp_gotouri(app, link->dest); else if (link->kind == PDF_LGOTO) - pdfapp_gotopage(app, link->dest); + pdfapp_gotopage(app, fz_arrayget(link->dest, 0)); /* [ pageobj ... ] */ return; } } |