diff --git a/src/common/kiwix/searcher.cpp b/src/common/kiwix/searcher.cpp index 1943557ac..445fee665 100644 --- a/src/common/kiwix/searcher.cpp +++ b/src/common/kiwix/searcher.cpp @@ -173,7 +173,7 @@ namespace kiwix { unsigned int pageCount = this->estimatedResultCount / this->resultCountPerPage + 1; if (pageCount > 10) pageCount = 10; - for (int i=0; iresultCountPerPage; page["end"] = (i+1) * this->resultCountPerPage;