diff options
author | Peng Wu <alexepico@gmail.com> | 2012-08-29 13:42:08 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-08-29 13:42:08 +0800 |
commit | 9563ee6f1077b5f062505d5083263ea49ee9d15f (patch) | |
tree | 0b68fe8ff349ff489f0272f0c11685984edc953b | |
parent | c2f853e5c3d13c01bd64497b2104a1f8f8f46bb8 (diff) | |
download | libpinyin-9563ee6f1077b5f062505d5083263ea49ee9d15f.tar.gz libpinyin-9563ee6f1077b5f062505d5083263ea49ee9d15f.tar.xz libpinyin-9563ee6f1077b5f062505d5083263ea49ee9d15f.zip |
polish code
-rw-r--r-- | src/storage/chewing_large_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/chewing_large_table.cpp b/src/storage/chewing_large_table.cpp index 921883b..0f3bd9c 100644 --- a/src/storage/chewing_large_table.cpp +++ b/src/storage/chewing_large_table.cpp @@ -829,7 +829,7 @@ bool ChewingLengthIndexLevel::store(MemoryChunk * new_chunk, #define CASE(len) case len: \ { \ ChewingArrayIndexLevel<len> * phrase = g_array_index \ - (m_chewing_array_indexes, ChewingArrayIndexLevel<len> *, i); \ + (m_chewing_array_indexes, ChewingArrayIndexLevel<len> *, len); \ if (NULL == phrase) { \ new_chunk->set_content \ (index, &offset, sizeof(table_offset_t)); \ |