Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36e2abdd authored by satok's avatar satok Committed by Android Git Automerger
Browse files

am 46341838: Merge "Fix a bug that a word with only one missing word is not...

am 46341838: Merge "Fix a bug that a word with only one missing word is not promoted" into honeycomb-mr1

* commit '46341838':
  Fix a bug that a word with only one missing word is not promoted
parents b84046a3 46341838
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -521,7 +521,7 @@ inline int UnigramDictionary::calculateFinalFreq(const int inputIndex, const int
            finalFreq = capped255MultForFullMatchAccentsOrCapitalizationDifference(finalFreq);
        }
    }
    if (sameLength && skipPos < 0) finalFreq *= FULL_WORD_MULTIPLIER;
    if (sameLength) finalFreq *= FULL_WORD_MULTIPLIER;
    return finalFreq;
}