Skip to content

Commit

Permalink
Merge pull request #72 from kiwix/load_library_not_readonly
Browse files Browse the repository at this point in the history
Do not read the library in readOnly mode.
  • Loading branch information
kelson42 committed Nov 9, 2023
2 parents f9dc43e + d109cc5 commit 853233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/main/cpp/libkiwix/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ METHOD(jboolean, readFile, jstring path)
{
auto cPath = TO_C(path);

return THIS->readFile(cPath);
return THIS->readFile(cPath, false);
} CATCH_EXCEPTION(false)

METHOD(jboolean, readXml, jstring content, jstring libraryPath)
Expand Down

0 comments on commit 853233a

Please sign in to comment.