am 6d1a29ea: Fix build.

* commit '6d1a29eaab3667c381340117a2012427d3a3e861':
  Fix build.
main
Keisuke Kuroyanagi 2013-09-16 21:09:08 -07:00 committed by Android Git Automerger
commit ec6d7acc0c
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ bool DynamicBigramListPolicy::addNewBigramEntryToBigramList(const int bigramPos,
flags = BigramListReadWriteUtils::getFlagsAndForwardPointer(buffer, pos); flags = BigramListReadWriteUtils::getFlagsAndForwardPointer(buffer, pos);
int originalBigramPos = BigramListReadWriteUtils::getBigramAddressAndForwardPointer( int originalBigramPos = BigramListReadWriteUtils::getBigramAddressAndForwardPointer(
buffer, flags, pos); buffer, flags, pos);
if (usesAdditionalBuffer && originalBigramPos != NOT_A_VALID_WORD_POS) { if (usesAdditionalBuffer && originalBigramPos != NOT_A_DICT_POS) {
originalBigramPos += mBuffer->getOriginalBufferSize(); originalBigramPos += mBuffer->getOriginalBufferSize();
} }
if (followBigramLinkAndGetCurrentBigramPtNodePos(originalBigramPos) == bigramPos) { if (followBigramLinkAndGetCurrentBigramPtNodePos(originalBigramPos) == bigramPos) {