diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-12-24 00:17:22 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-12-24 00:17:22 +0100 |
commit | 063b903882460be208c45f4edb618b13aaa0442e (patch) | |
tree | d27f31bed133dae01d4e1a7761b045d697acba3c /fitz | |
parent | dca5e385e8274a11a0b9968e95b58409538c419a (diff) | |
download | mupdf-063b903882460be208c45f4edb618b13aaa0442e.tar.xz |
Don't forget to copy the link destination struct when creating a link.
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/base_link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fitz/base_link.c b/fitz/base_link.c index d8d7e3ab..3f25c82d 100644 --- a/fitz/base_link.c +++ b/fitz/base_link.c @@ -37,6 +37,7 @@ fz_new_link(fz_context *ctx, fz_link_kind kind, fz_rect bbox, fz_link_dest dest) fz_rethrow(ctx); } link->kind = kind; + link->dest = dest; link->rect = bbox; link->next = NULL; return link; |