mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
temporary fix for NPE
This commit is contained in:
parent
a20451a966
commit
93b011d616
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ JNIEXPORT jboolean JNICALL Java_org_geometerplus_fbreader_formats_NativeFormatPl
|
||||||
return JNI_FALSE;
|
return JNI_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return JNI_FALSE;
|
||||||
|
|
||||||
shared_ptr<Book> book = Book::loadFromJavaBook(env, javaBook);
|
shared_ptr<Book> book = Book::loadFromJavaBook(env, javaBook);
|
||||||
if (!plugin->readMetaInfo(*book)) {
|
if (!plugin->readMetaInfo(*book)) {
|
||||||
return JNI_FALSE;
|
return JNI_FALSE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue