aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-11 03:37:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-12-11 03:37:05 +0000
commita8ffdf0288288cb7a0386cc21e95913d6092e80a (patch)
tree772c50001fd808637090b8fd54b203dffe56bc17 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java
parent499371a5efdd5e3b76d12370fcd63fb7963a2488 (diff)
parent3839defc90b8328592256d92caa90102c34a5937 (diff)
downloadlatinime-a8ffdf0288288cb7a0386cc21e95913d6092e80a.tar.gz
latinime-a8ffdf0288288cb7a0386cc21e95913d6092e80a.tar.xz
latinime-a8ffdf0288288cb7a0386cc21e95913d6092e80a.zip
Merge "Split the header into a separate file."
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java
index 05de37d4c..e3ec2eca9 100644
--- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java
+++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java
@@ -523,7 +523,7 @@ public class BinaryDictDecoderEncoderTests extends AndroidTestCase {
return null;
}
if (fileHeader == null) return null;
- return BinaryDictDecoderUtils.getWordAtPosition(dictDecoder, fileHeader.mHeaderSize,
+ return BinaryDictDecoderUtils.getWordAtPosition(dictDecoder, fileHeader.mBodyOffset,
address, fileHeader.mFormatOptions).mWord;
}