diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-07 14:36:46 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-13 13:16:21 +0200 |
commit | 9536658e3820bcd285a49de0d40283e3d5cc6a08 (patch) | |
tree | de4ca8b9633ecda2999b27446da069a2d8666f81 /source/pdf | |
parent | 064b36eb743b6844c35c20e2d202a5ec81074878 (diff) | |
download | mupdf-9536658e3820bcd285a49de0d40283e3d5cc6a08.tar.xz |
Fix 697725: silly typo when parsing GoToR destination.
Diffstat (limited to 'source/pdf')
-rw-r--r-- | source/pdf/pdf-annot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-annot.c b/source/pdf/pdf-annot.c index b90b5e86..f6b3223b 100644 --- a/source/pdf/pdf-annot.c +++ b/source/pdf/pdf-annot.c @@ -154,7 +154,7 @@ pdf_parse_file_spec(fz_context *ctx, pdf_document *doc, pdf_obj *file_spec, pdf_ fz_snprintf(buf, sizeof buf, "#page=%d", pdf_to_int(ctx, pdf_array_get(ctx, dest, 0)) + 1); else if (pdf_is_name(ctx, dest)) fz_snprintf(buf, sizeof buf, "#%s", pdf_to_name(ctx, dest)); - else if (pdf_is_stream(ctx, dest)) + else if (pdf_is_string(ctx, dest)) fz_snprintf(buf, sizeof buf, "#%s", pdf_to_str_buf(ctx, dest)); else buf[0] = 0; |