mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +02:00
a workaround to fix an exception in initTOC
This commit is contained in:
parent
85a23bc67a
commit
297f9aa6f9
2 changed files with 35 additions and 32 deletions
|
@ -255,8 +255,7 @@ JNIEXPORT jboolean JNICALL Java_org_geometerplus_fbreader_formats_NativeFormatPl
|
|||
}
|
||||
model->flush();
|
||||
|
||||
if (!initInternalHyperlinks(env, javaModel, *model) ||
|
||||
!initTOC(env, javaModel, *model)) {
|
||||
if (!initInternalHyperlinks(env, javaModel, *model) || !initTOC(env, javaModel, *model)) {
|
||||
return JNI_FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue