diff --git a/filechooser.lua b/filechooser.lua index 0e4ff59a2..acde51dfe 100644 --- a/filechooser.lua +++ b/filechooser.lua @@ -57,7 +57,7 @@ function FileChooser:readDir() if file_type == "djvu" or file_type == "pdf" or file_type == "xps" or file_type == "cbz" or file_type == "epub" or file_type == "txt" or file_type == "rtf" - or file_type == "htm" or file_type == "html" or file_type == "mobi" + or file_type == "htm" or file_type == "html" or file_type == "mobi" or file_type == "prc" or file_type == "fb2" or file_type == "chm" or file_type == "doc" or file_type == "zip" then table.insert(self.files, f) diff --git a/filesearcher.lua b/filesearcher.lua index f36d14152..63118172b 100644 --- a/filesearcher.lua +++ b/filesearcher.lua @@ -38,7 +38,7 @@ function FileSearcher:readDir() or file_type == "xps" or file_type == "cbz" or file_type == "epub" or file_type == "txt" or file_type == "rtf" or file_type == "htm" - or file_type == "html" or file_type == "mobi" + or file_type == "html" or file_type == "mobi" or file_type == "prc" or file_type == "fb2" or file_type == "chm" or file_type == "doc" or file_type == "zip" then file_entry = {dir=d, name=f,} diff --git a/kpvcrlib/crengine b/kpvcrlib/crengine index 998821344..7a73d1666 160000 --- a/kpvcrlib/crengine +++ b/kpvcrlib/crengine @@ -1 +1 @@ -Subproject commit 99882134490b47ebb28107cebfbeb8eafb070f54 +Subproject commit 7a73d1666538fe9dd7d84d7e18135b03c21be2ca diff --git a/reader.lua b/reader.lua index b00fd5397..3141c582d 100755 --- a/reader.lua +++ b/reader.lua @@ -44,7 +44,7 @@ function openFile(filename) reader = DJVUReader elseif file_type == "pdf" or file_type == "xps" or file_type == "cbz" then reader = PDFReader - elseif file_type == "epub" or file_type == "txt" or file_type == "rtf" or file_type == "htm" or file_type == "html" or file_type == "fb2" or file_type == "chm" or file_type == "mobi" or file_type == "doc" or file_type == "zip" then + elseif file_type == "epub" or file_type == "txt" or file_type == "rtf" or file_type == "htm" or file_type == "html" or file_type == "fb2" or file_type == "chm" or file_type == "mobi" or file_type == "prc" or file_type == "doc" or file_type == "zip" then reader = CREReader end if reader then