Skip to content

Commit

Permalink
Merge pull request #334 from ad-freiburg/f.fixTextBlockBoundaries
Browse files Browse the repository at this point in the history
Fix block boundary bug introduced by Unicode refactoring
  • Loading branch information
joka921 committed Jul 30, 2020
2 parents f1dd8ac + 977b536 commit 7797474
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index/Index.Text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ void Index::calculateBlockBoundaries() {
locManager.compare(currentLenAndPrefix.second, nextLenAndPrefix.second,
LocaleManager::Level::PRIMARY) > 0) {
_blockBoundaries.push_back(i);
currentLenAndPrefix = nextLenAndPrefix;
}
}
_blockBoundaries.push_back(_textVocab.size() - 1);
Expand Down

0 comments on commit 7797474

Please sign in to comment.