diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-07 14:39:17 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-07 14:39:17 +0200 |
commit | 567ad2330ec8be4f23014a0a3e8dce11bcd1eada (patch) | |
tree | 0ca643fd1350da7355e7152fe460f2b9d855e285 /apps | |
parent | 6294585ac2dfe73654a9ac5965517219e4ea7ede (diff) | |
download | mupdf-567ad2330ec8be4f23014a0a3e8dce11bcd1eada.tar.xz |
Use fz_stream instead of FILE* to open XPS files.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfapp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 46459497..fc2cfdfb 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -179,7 +179,7 @@ static void pdfapp_open_xps(pdfapp_t *app, char *filename, int fd) void pdfapp_open(pdfapp_t *app, char *filename, int fd) { - if (strstr(filename, ".xps") || strstr(filename, ".XPS")) + if (strstr(filename, ".xps") || strstr(filename, ".XPS") || strstr(filename, ".rels")) pdfapp_open_xps(app, filename, fd); else pdfapp_open_pdf(app, filename, fd); |