Fix a bug giving broken characters

Bug: 7050587

Change-Id: I54ff7e680c228e78236567bb79832a43086b70c6
main
Jean Chalard 2012-08-29 20:09:27 +09:00
parent ac621d1527
commit 07aea409ba
1 changed files with 1 additions and 1 deletions

View File

@ -302,6 +302,6 @@ int ProximityInfo::getKeyKeyDistanceG(int key0, int key1) const {
if (keyId0 >= 0 && keyId1 >= 0) { if (keyId0 >= 0 && keyId1 >= 0) {
return mKeyKeyDistancesG[keyId0][keyId1]; return mKeyKeyDistancesG[keyId0][keyId1];
} }
return 0; return MAX_POINT_TO_KEY_LENGTH;
} }
} // namespace latinime } // namespace latinime