1
0
Fork 0
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:
Nikolay Pultsin 2012-03-29 20:24:02 +01:00
parent 85a23bc67a
commit 297f9aa6f9
2 changed files with 35 additions and 32 deletions

View file

@ -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;
}