Loading native/src/proximity_info.cpp +39 −37 Original line number Diff line number Diff line Loading @@ -156,6 +156,7 @@ void ProximityInfo::calculateNearbyKeyCodes( int insertPos = 0; inputCodes[insertPos++] = primaryKey; const int startIndex = getStartIndexFromCoordinates(x, y); for (int i = 0; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { const int32_t c = mProximityCharsArray[startIndex + i]; if (c < KEYCODE_SPACE || c == primaryKey) { Loading Loading @@ -207,6 +208,7 @@ void ProximityInfo::calculateNearbyKeyCodes( } } } // Add a delimiter for the proximity characters for (int i = insertPos; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { inputCodes[i] = NOT_A_CODE; Loading Loading
native/src/proximity_info.cpp +39 −37 Original line number Diff line number Diff line Loading @@ -156,6 +156,7 @@ void ProximityInfo::calculateNearbyKeyCodes( int insertPos = 0; inputCodes[insertPos++] = primaryKey; const int startIndex = getStartIndexFromCoordinates(x, y); for (int i = 0; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { const int32_t c = mProximityCharsArray[startIndex + i]; if (c < KEYCODE_SPACE || c == primaryKey) { Loading Loading @@ -207,6 +208,7 @@ void ProximityInfo::calculateNearbyKeyCodes( } } } // Add a delimiter for the proximity characters for (int i = insertPos; i < MAX_PROXIMITY_CHARS_SIZE; ++i) { inputCodes[i] = NOT_A_CODE; Loading