From 576c753d25f8a1de396ece59b7b3c9b098d67e95 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Mon, 2 Dec 2013 20:04:52 +0900 Subject: [PATCH] Fix an obvious bug This had to be a typo Change-Id: Id49e44d7667d64b00e883c55c683535398b6bdea --- .../com/android/inputmethod/latin/makedict/Ver4DictEncoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/makedict/Ver4DictEncoder.java b/java/src/com/android/inputmethod/latin/makedict/Ver4DictEncoder.java index 772b09be0..6d045c88a 100644 --- a/java/src/com/android/inputmethod/latin/makedict/Ver4DictEncoder.java +++ b/java/src/com/android/inputmethod/latin/makedict/Ver4DictEncoder.java @@ -303,7 +303,7 @@ public class Ver4DictEncoder implements DictEncoder { @Override public void setPosition(int position) { - if (mTrieBuf == null || position < 0 || position >- mTrieBuf.length) return; + if (mTrieBuf == null || position < 0 || position > mTrieBuf.length) return; mTriePos = position; }