summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-01 10:41:58 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-01 10:41:58 +0800
commite1c4b6b0ee7455458a9de25a7195eea059dc5ca7 (patch)
tree950bc7d62bb8e58642748aef5dd00df9ea1dc8c0
parent15f63b39f4461a5eec17e8ad5f616b74f3eede87 (diff)
downloadlibpinyin-e1c4b6b0ee7455458a9de25a7195eea059dc5ca7.tar.gz
libpinyin-e1c4b6b0ee7455458a9de25a7195eea059dc5ca7.tar.xz
libpinyin-e1c4b6b0ee7455458a9de25a7195eea059dc5ca7.zip
fixes a typo
-rw-r--r--src/storage/chewing_large_table.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/chewing_large_table.cpp b/src/storage/chewing_large_table.cpp
index 765e7ce..00d7c5b 100644
--- a/src/storage/chewing_large_table.cpp
+++ b/src/storage/chewing_large_table.cpp
@@ -192,7 +192,7 @@ int ChewingBitmapIndexLevel::middle_and_final_level_search
ORIGIN, phrase_length, keys, ranges); \
if (m_options & AMBIGUITY) { \
result |= tone_level_search \
- (initial, middle, \
+ (initial, middle, \
ANOTHER, phrase_length, keys, ranges); \
} \
return result; \
@@ -218,7 +218,7 @@ int ChewingBitmapIndexLevel::middle_and_final_level_search
return result;
} else { /* normal pinyin */
result |= tone_level_search
- (initial, middle, (ChewingFinal)first_key.m_final,
+ (initial, middle, CHEWING_ZERO_FINAL,
phrase_length, keys, ranges);
return result;
}