aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Zivkovic <zivkovic@google.com>2015-02-04 18:10:04 -0800
committerDan Zivkovic <zivkovic@google.com>2015-02-04 18:23:38 -0800
commit6e0467c20e51bc64f494141cecdfc0fe560d749b (patch)
tree4d024aba149b5b7470bde327de513f5a84de9c55
parentc0eb57124fd295ceb85c3350de3189c40594ee96 (diff)
downloadlatinime-6e0467c20e51bc64f494141cecdfc0fe560d749b.tar.gz
latinime-6e0467c20e51bc64f494141cecdfc0fe560d749b.tar.xz
latinime-6e0467c20e51bc64f494141cecdfc0fe560d749b.zip
Fix accidentally inverted if check.
Change-Id: I9c28f4154f69c63564a2bda357c16cef4e68dc0d
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java2
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.