mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
synchronization with C++ version
This commit is contained in:
parent
e790aeb68a
commit
8ac2815d94
19 changed files with 640 additions and 518 deletions
|
@ -46,7 +46,7 @@ bool RtfPlugin::readMetaInfo(Book &book) const {
|
|||
} else if (book.language().empty()) {
|
||||
shared_ptr<ZLInputStream> stream = new RtfReaderStream(book.file(), 50000);
|
||||
if (!stream.isNull()) {
|
||||
detectLanguage(book, *stream);
|
||||
detectLanguage(book, *stream, book.encoding());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue