diff options
author | 2015-02-05 02:31:07 +0000 | |
---|---|---|
committer | 2015-02-05 02:31:07 +0000 | |
commit | a02f82c48de7be2eb27b691fdd505269594ee2fa (patch) | |
tree | 2ab0eb4ebd9b2a0a2c8197631278c1173f72736e /java/src | |
parent | 68946c796dbd6d7c5090ee12d8f4c54db3257785 (diff) | |
parent | 6e0467c20e51bc64f494141cecdfc0fe560d749b (diff) | |
download | latinime-a02f82c48de7be2eb27b691fdd505269594ee2fa.tar.gz latinime-a02f82c48de7be2eb27b691fdd505269594ee2fa.tar.xz latinime-a02f82c48de7be2eb27b691fdd505269594ee2fa.zip |
am 6e0467c2: Fix accidentally inverted if check.
* commit '6e0467c20e51bc64f494141cecdfc0fe560d749b':
Fix accidentally inverted if check.
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 3b76fefa2..9154cc35a 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -475,7 +475,7 @@ public final class InputLogic { handler.cancelUpdateSuggestionStrip(); ++mAutoCommitSequenceNumber; mConnection.beginBatchEdit(); - if (!mWordComposer.isComposingWord()) { + if (mWordComposer.isComposingWord()) { if (mWordComposer.isCursorFrontOrMiddleOfComposingWord()) { // If we are in the middle of a recorrection, we need to commit the recorrection // first so that we can insert the batch input at the current cursor position. |