diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-23 14:14:26 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-23 14:14:26 +0800 |
commit | cbd81a7b669bf97517ab9206ef12d29167a0fc41 (patch) | |
tree | f5df56b046a4743d2350daa5353243d15aac70bd /tests | |
parent | 4904220051751d87461251f21e06b48ddc508589 (diff) | |
download | libpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.tar.gz libpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.tar.xz libpinyin-cbd81a7b669bf97517ab9206ef12d29167a0fc41.zip |
fixes test chewing table
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_chewing_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_chewing_table.cpp b/tests/storage/test_chewing_table.cpp index ba76cf0..02e855e 100644 --- a/tests/storage/test_chewing_table.cpp +++ b/tests/storage/test_chewing_table.cpp @@ -123,7 +123,7 @@ int main(int argc, char * argv[]) { printf("%s\t", string); g_free(string); - ChewingKey chewing_buffer[1024]; + ChewingKey chewing_buffer[MAX_PHRASE_LENGTH]; size_t npron = item.get_n_pronunciation(); guint32 freq; for (size_t m = 0; m < npron; ++m){ |