From 45f7336daf30afcaeb4b53e54255fa710f276bb2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 16 Dec 2010 00:17:35 +0000 Subject: Store full destination array instead of only the page reference in the link struct. --- apps/pdfapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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; } } -- cgit v1.2.3