Fix a typo. A follow up to I68dd6b8d

Change-Id: I16fa4099c75faac35344b0e4d3c2b866ddac896a
This commit is contained in:
Ken Wakasa 2011-12-21 22:34:08 +09:00
parent 0fd625bcfd
commit 0d0f01da67

View file

@ -349,7 +349,7 @@ public class WordComposer {
// `type' should be one of the COMMIT_TYPE_* constants above. // `type' should be one of the COMMIT_TYPE_* constants above.
public void onCommitWord(final int type) { public void onCommitWord(final int type) {
mCommittedWordSavedForSuggestionResuming = mCurrentWord; mCommittedWordSavedForSuggestionResuming = mCurrentWord;
// Note: currently, we come here whenever we commit a word. If it's any *other* kind that // Note: currently, we come here whenever we commit a word. If it's any *other* kind than
// DECIDED_WORD, we should reset mAutoCorrection so that we don't attempt to cancel later. // DECIDED_WORD, we should reset mAutoCorrection so that we don't attempt to cancel later.
// If it's a DECIDED_WORD, it may be an actual auto-correction by the IME, or what the user // If it's a DECIDED_WORD, it may be an actual auto-correction by the IME, or what the user
// typed because the IME decided *not* to auto-correct for whatever reason. // typed because the IME decided *not* to auto-correct for whatever reason.