Fix typos in search/suggestion getResults.

This commit is contained in:
Matthieu Gautier 2023-06-21 11:38:00 +02:00
parent c7ac3a0878
commit 7315228b06
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.