diff options
Diffstat (limited to 'ios/document.c')
-rw-r--r-- | ios/document.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/document.c b/ios/document.c index d17d1392..a15d97fd 100644 --- a/ios/document.c +++ b/ios/document.c @@ -22,7 +22,7 @@ open_document(fz_context *ctx, char *filename) doc->pdf = pdf_open_document(ctx, filename); else if (strstr(filename, ".xps") || strstr(filename, ".XPS")) doc->xps = xps_open_document(ctx, filename); - else if (strstr(filename, ".cbz") || strstr(filename, ".CBZ")) + else if (strstr(filename, ".cbz") || strstr(filename, ".CBZ") || strstr(filename, ".zip") || strstr(filename, ".ZIP")) doc->cbz = cbz_open_document(ctx, filename); else fz_throw(ctx, "unknown document format"); |