summaryrefslogtreecommitdiff
path: root/platform/gl/gl-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/gl/gl-main.c')
-rw-r--r--platform/gl/gl-main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c
index 0541f749..46c65262 100644
--- a/platform/gl/gl-main.c
+++ b/platform/gl/gl-main.c
@@ -588,9 +588,11 @@ 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, NULL, NULL));
+ ui_needs_update = 1;
+ }
}
- ui_needs_update = 1;
}
link = link->next;