+ fix small bug in the new indexer

This commit is contained in:
kelson42 2012-04-02 19:49:16 +00:00
parent 9e8d6f3c25
commit 2ae7112a32
1 changed files with 1 additions and 1 deletions

View File

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