diff options
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/doc_document.c | 2 |
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); |