mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix an OOB"
This commit is contained in:
commit
a3f2ce1f31
@ -329,7 +329,7 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener,
|
||||
} else {
|
||||
color = mColorTypedWord;
|
||||
}
|
||||
if (LatinImeLogger.sDBG) {
|
||||
if (LatinImeLogger.sDBG && suggestedWords.size() > 1) {
|
||||
// If we auto-correct, then the autocorrection is in slot 0 and the typed word
|
||||
// is in slot 1.
|
||||
if (index == mCenterSuggestionIndex && suggestedWords.mHasAutoCorrectionCandidate
|
||||
|
Loading…
x
Reference in New Issue
Block a user