diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-12-28 13:40:21 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 13:21:40 +0100 |
commit | 6933d36755f90e23308a52c0c3b9c6a4423a9e4c (patch) | |
tree | d845ac62869d8a09fbf638a2c4bb0953efec1eb7 /source/xps/xps-resource.c | |
parent | 7a439812b2226c1e3b203ec603f05b39d159f91e (diff) | |
download | mupdf-6933d36755f90e23308a52c0c3b9c6a4423a9e4c.tar.xz |
Make fz_parse_xml take a fz_buffer. Make xps_part contain a fz_buffer.
Diffstat (limited to 'source/xps/xps-resource.c')
-rw-r--r-- | source/xps/xps-resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-resource.c b/source/xps/xps-resource.c index c0212e3f..139d5b5c 100644 --- a/source/xps/xps-resource.c +++ b/source/xps/xps-resource.c @@ -67,7 +67,7 @@ xps_parse_remote_resource_dictionary(fz_context *ctx, xps_document *doc, char *b part = xps_read_part(ctx, doc, part_name); fz_try(ctx) { - xml = fz_parse_xml(ctx, part->data, part->size, 0); + xml = fz_parse_xml(ctx, part->data, 0); } fz_always(ctx) { |