diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 15:02:58 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 18:13:08 +0100 |
commit | 0666bc342b391dbb80dfa4c8812c010bdc00afc0 (patch) | |
tree | 5b8c685f4c40f4ce2a166e61f08aea45a75e8e06 /source/fitz/link.c | |
parent | ecba03d23babb5c8e50ae1a02cf549fa6b0cef63 (diff) | |
download | mupdf-0666bc342b391dbb80dfa4c8812c010bdc00afc0.tar.xz |
pdf: Use URI dictionary for relative URIs.
Diffstat (limited to 'source/fitz/link.c')
-rw-r--r-- | source/fitz/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/link.c b/source/fitz/link.c index 430c9bfe..9f8286be 100644 --- a/source/fitz/link.c +++ b/source/fitz/link.c @@ -46,5 +46,5 @@ fz_is_external_link(fz_context *ctx, const char *uri) { while (*uri >= 'a' && *uri <= 'z') ++uri; - return uri[0] == ':' && uri[1] == '/' && uri[2] == '/'; + return uri[0] == ':'; } |