diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-09-23 15:42:48 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-10-07 17:22:59 +0200 |
commit | 4e1e13c9b09fbfc4a40ec2a4f78e206cf156898b (patch) | |
tree | 357b7c3cb1e7ff69e7eb586fdec98be1a4715d80 /source/pdf/pdf-xref.c | |
parent | a1e7013390b14bbdd3a05bf7db073fc409cd91bc (diff) | |
download | mupdf-4e1e13c9b09fbfc4a40ec2a4f78e206cf156898b.tar.xz |
pdf: Remove unneccessary document argument to pdf_to_utf8 etc.
Diffstat (limited to 'source/pdf/pdf-xref.c')
-rw-r--r-- | source/pdf/pdf-xref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c index af2fec33..87616f40 100644 --- a/source/pdf/pdf-xref.c +++ b/source/pdf/pdf-xref.c @@ -2325,7 +2325,7 @@ pdf_lookup_metadata(fz_context *ctx, pdf_document *doc, const char *key, char *b if (!info) return -1; - s = pdf_to_utf8(ctx, doc, info); + s = pdf_to_utf8(ctx, info); n = (int)fz_strlcpy(buf, s, size); fz_free(ctx, s); return n; |