diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-01-30 15:12:00 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-01-30 15:12:00 +0100 |
commit | 1e3461a02021fba4d27c4f7678f0ad21d8954eee (patch) | |
tree | 23317b77247c45c204016907e09e3a84e2ddfc25 /apps/win_main.c | |
parent | 99401f12b3969404996dbbeb5a6bff58e3451781 (diff) | |
download | mupdf-1e3461a02021fba4d27c4f7678f0ad21d8954eee.tar.xz |
Add CBZ (comic book zip-file) parser.
Diffstat (limited to 'apps/win_main.c')
-rw-r--r-- | apps/win_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/win_main.c b/apps/win_main.c index dcc2d0a6..fc929a14 100644 --- a/apps/win_main.c +++ b/apps/win_main.c @@ -1,6 +1,7 @@ #include "fitz.h" #include "mupdf.h" #include "muxps.h" +#include "mucbz.h" #include "pdfapp.h" #ifndef UNICODE @@ -110,7 +111,7 @@ int winfilename(wchar_t *buf, int len) ofn.nMaxFile = len; ofn.lpstrInitialDir = NULL; ofn.lpstrTitle = L"MuPDF: Open PDF file"; - ofn.lpstrFilter = L"Documents (*.pdf;*.xps)\0*.xps;*.pdf\0PDF Files (*.pdf)\0*.pdf\0XPS Files (*.xps)\0*.xps\0All Files\0*\0\0"; + ofn.lpstrFilter = L"Documents (*.pdf;*.xps;*.cbz)\0*.cbz;*.xps;*.pdf\0PDF Files (*.pdf)\0*.pdf\0XPS Files (*.xps)\0*.xps\0CBZ Files (*cbz)\0*.cbz\0All Files\0*\0\0"; ofn.Flags = OFN_FILEMUSTEXIST|OFN_HIDEREADONLY; return GetOpenFileNameW(&ofn); } |