am 6d1a29ea: Fix build.

* commit '6d1a29eaab3667c381340117a2012427d3a3e861':
  Fix build.
This commit is contained in:
Keisuke Kuroyanagi 2013-09-16 21:09:08 -07:00 committed by Android Git Automerger
commit ec6d7acc0c

View File

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