diff options
author | 2013-08-21 04:29:26 -0700 | |
---|---|---|
committer | 2013-08-21 04:29:26 -0700 | |
commit | 7f0ae85212914738ed5cb4b016dd4c34a05ef2b3 (patch) | |
tree | 430832879f7305820d38963cf6b2517c6337410a /tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | |
parent | dc3257246adeeaababa547910d09e585cfef7480 (diff) | |
parent | f9233e0b98469a7e9e9a863d491a33593dba4bff (diff) | |
download | latinime-7f0ae85212914738ed5cb4b016dd4c34a05ef2b3.tar.gz latinime-7f0ae85212914738ed5cb4b016dd4c34a05ef2b3.tar.xz latinime-7f0ae85212914738ed5cb4b016dd4c34a05ef2b3.zip |
am f9233e0b: Merge "Make readPtNode be called with the address from the beginning of the file."
* commit 'f9233e0b98469a7e9e9a863d491a33593dba4bff':
Make readPtNode be called with the address from the beginning of the file.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java index d50d1ac96..f30be97f3 100644 --- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java +++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java @@ -512,8 +512,8 @@ public class BinaryDictDecoderEncoderTests extends AndroidTestCase { return null; } if (fileHeader == null) return null; - return BinaryDictDecoderUtils.getWordAtAddress(dictDecoder, fileHeader.mHeaderSize, - address - fileHeader.mHeaderSize, fileHeader.mFormatOptions).mWord; + return BinaryDictDecoderUtils.getWordAtPosition(dictDecoder, fileHeader.mHeaderSize, + address, fileHeader.mFormatOptions).mWord; } private long runGetTerminalPosition(final Ver3DictDecoder dictDecoder, final String word, |