diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-02-23 17:03:43 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-02-26 15:09:49 +0100 |
commit | daff628cd6a54c163743e91637b697bec269f1b8 (patch) | |
tree | 863f737fb08e5f7db3ae198528480730be248b2b /source/xps | |
parent | f8809680945937d49f70be417e2f8ffda8a57558 (diff) | |
download | mupdf-daff628cd6a54c163743e91637b697bec269f1b8.tar.xz |
Clean up some type casts.
Diffstat (limited to 'source/xps')
-rw-r--r-- | source/xps/xps-doc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-doc.c b/source/xps/xps-doc.c index 41823d56..ec12e87a 100644 --- a/source/xps/xps-doc.c +++ b/source/xps/xps-doc.c @@ -453,7 +453,7 @@ xps_load_fixed_page(fz_context *ctx, xps_document *doc, xps_fixpage *page) root = node; } - if (strcmp(fz_xml_tag(root), "FixedPage")) + if (!fz_xml_is_tag(root, "FixedPage")) { fz_drop_xml(ctx, root); fz_throw(ctx, FZ_ERROR_GENERIC, "expected FixedPage element"); |