summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-02-19 17:31:30 +0100
committerRobin Watts <robin.watts@artifex.com>2013-02-20 13:50:40 +0000
commitb6519f17bf729617279e1feb78b08ce4fd56cd5b (patch)
tree2a9a9a94e770557e331ee2c9c8ecc591e332eb02 /fitz
parent40997a6e6cb6c41ea337354ba4ecc3831ce0dcb7 (diff)
downloadmupdf-b6519f17bf729617279e1feb78b08ce4fd56cd5b.tar.xz
Bug 693639: allow OpenXPS extension and XML namespaces.
Thanks to zeniko.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/doc_document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/doc_document.c b/fitz/doc_document.c
index 14e6da9d..21e029e5 100644
--- a/fitz/doc_document.c
+++ b/fitz/doc_document.c
@@ -62,7 +62,7 @@ fz_open_document(fz_context *ctx, const char *filename)
if (ext)
{
- if (!fz_strcasecmp(ext, ".xps") || !fz_strcasecmp(ext, ".rels"))
+ if (!fz_strcasecmp(ext, ".xps") || !fz_strcasecmp(ext, ".rels") || !fz_strcasecmp(ext, ".oxps"))
return (fz_document*) xps_open_document(ctx, filename);
if (!fz_strcasecmp(ext, ".cbz") || !fz_strcasecmp(ext, ".zip"))
return (fz_document*) cbz_open_document(ctx, filename);