diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-01-30 18:49:11 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 14:00:54 +0100 |
commit | 7b49558c65e124c0b9e5e4d3821ec5138589c472 (patch) | |
tree | c0da5af234f97545ed6314e2642406ec72a1c9ca /apps/win_main.c | |
parent | bb1e3c973526e66024e1a3260255368034cb2008 (diff) | |
download | mupdf-7b49558c65e124c0b9e5e4d3821ec5138589c472.tar.xz |
Allow ZIP as extension for CBZ files.
Diffstat (limited to 'apps/win_main.c')
-rw-r--r-- | apps/win_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/win_main.c b/apps/win_main.c index fc929a14..fcfd5020 100644 --- a/apps/win_main.c +++ b/apps/win_main.c @@ -111,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;*.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.lpstrFilter = L"Documents (*.pdf;*.xps;*.cbz;*.zip)\0*.zip;*.cbz;*.xps;*.pdf\0PDF Files (*.pdf)\0*.pdf\0XPS Files (*.xps)\0*.xps\0CBZ Files (*.cbz;*.zip)\0*.zip;*.cbz\0All Files\0*\0\0"; ofn.Flags = OFN_FILEMUSTEXIST|OFN_HIDEREADONLY; return GetOpenFileNameW(&ofn); } |