From 7315228b06abf65c5a20461836a03d3f6b70cf08 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 21 Jun 2023 11:38:00 +0200 Subject: [PATCH] Fix typos in search/suggestion getResults. --- lib/src/main/cpp/libzim/search.cpp | 2 +- lib/src/main/cpp/libzim/suggestion_search.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/main/cpp/libzim/search.cpp b/lib/src/main/cpp/libzim/search.cpp index 763bb2c..5e26433 100644 --- a/lib/src/main/cpp/libzim/search.cpp +++ b/lib/src/main/cpp/libzim/search.cpp @@ -37,7 +37,7 @@ DISPOSE METHOD(jobject, getResults, jint start, jint maxResults) { auto results = THIS->getResults(TO_C(start), TO_C(maxResults)); - auto obj = NEW_OBJECT("ork/kiwix/libzim/SearchIterator"); + auto obj = NEW_OBJECT("org/kiwix/libzim/SearchIterator"); SET_HANDLE(zim::SearchIterator, obj, results.begin()); // We have to set the nativeHandleEnd but no macro ease our work here. diff --git a/lib/src/main/cpp/libzim/suggestion_search.cpp b/lib/src/main/cpp/libzim/suggestion_search.cpp index 26fa783..27507d8 100644 --- a/lib/src/main/cpp/libzim/suggestion_search.cpp +++ b/lib/src/main/cpp/libzim/suggestion_search.cpp @@ -37,7 +37,7 @@ DISPOSE METHOD(jobject, getResults, jint start, jint maxResults) { auto results = THIS->getResults(TO_C(start), TO_C(maxResults)); - auto obj = NEW_OBJECT("ork/kiwix/libzim/SuggestionIterator"); + auto obj = NEW_OBJECT("org/kiwix/libzim/SuggestionIterator"); SET_HANDLE(zim::SuggestionIterator, obj, results.begin()); // We have to set the nativeHandleEnd but no macro ease our work here.