From 09c0e0155ee97846bf52dba49acb0e33f5c5a168 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 21 Jun 2023 14:45:18 +0200 Subject: [PATCH] Fix hasEntryByTitle --- lib/src/main/cpp/libzim/archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/cpp/libzim/archive.cpp b/lib/src/main/cpp/libzim/archive.cpp index 3392977..870d535 100644 --- a/lib/src/main/cpp/libzim/archive.cpp +++ b/lib/src/main/cpp/libzim/archive.cpp @@ -164,7 +164,7 @@ METHOD(jobject, getEntryByTitle__I, jint index) { } METHOD(jboolean, hasEntryByTitle, jstring title) { - return TO_JNI(THIS->hasEntryByPath(TO_C(title))); + return TO_JNI(THIS->hasEntryByTitle(TO_C(title))); } METHOD(jobject, getEntryByClusterOrder, jint index) {