mirror of https://github.com/kiwix/libkiwix.git
+ fix small bug in the new indexer
This commit is contained in:
parent
9e8d6f3c25
commit
2ae7112a32
|
@ -84,7 +84,7 @@ namespace kiwix {
|
||||||
/* Redirects are not indexed */
|
/* Redirects are not indexed */
|
||||||
do {
|
do {
|
||||||
currentArticle = self->zimFileHandler->getArticle(currentOffset++);
|
currentArticle = self->zimFileHandler->getArticle(currentOffset++);
|
||||||
} while (currentArticle.isRedirect() && currentOffset++ != endOffset);
|
} while (currentArticle.isRedirect() && currentOffset != endOffset);
|
||||||
|
|
||||||
/* Add articles to the queue */
|
/* Add articles to the queue */
|
||||||
indexerToken token;
|
indexerToken token;
|
||||||
|
|
Loading…
Reference in New Issue