summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-14 14:34:40 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-14 14:34:40 +0800
commit5c89ad8b701188916847acf54e9efc025f9002bb (patch)
treed6a19c50ca6db82ee336adb4f4162eee45c64bc2 /src/storage/pinyin_parser2.cpp
parentaad64d52a5317a6b757725e3a1b209f43d34f86f (diff)
downloadlibpinyin-5c89ad8b701188916847acf54e9efc025f9002bb.tar.gz
libpinyin-5c89ad8b701188916847acf54e9efc025f9002bb.tar.xz
libpinyin-5c89ad8b701188916847acf54e9efc025f9002bb.zip
remove table index in chewing key rest
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-rw-r--r--src/storage/pinyin_parser2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index d8cfaa6..a762909 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -416,7 +416,7 @@ int FullPinyinParser2::final_step(size_t step_len, ChewingKeyVector & keys,
gint16 pos = curstep->m_num_keys - 1;
/* skip "'" */
- if (0 != curstep->m_key_rest.m_table_index) {
+ if (0 != curstep->m_key.get_table_index()) {
ChewingKey * key = &g_array_index(keys, ChewingKey, pos);
ChewingKeyRest * rest = &g_array_index
(key_rests, ChewingKeyRest, pos);