summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-outline.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-outline.c')
-rw-r--r--source/pdf/pdf-outline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-outline.c b/source/pdf/pdf-outline.c
index cfbd1961..77f04ffc 100644
--- a/source/pdf/pdf-outline.c
+++ b/source/pdf/pdf-outline.c
@@ -33,7 +33,7 @@ pdf_load_outline_imp(fz_context *ctx, pdf_document *doc, pdf_obj *dict)
else
node->uri = NULL;
- if (node->uri)
+ if (node->uri && !fz_is_external_link(ctx, node->uri))
node->page = pdf_resolve_link(ctx, doc, node->uri, &node->x, &node->y);
else
node->page = -1;