summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-10-21 17:35:25 +0800
committerPeng Wu <alexepico@gmail.com>2011-10-21 17:35:25 +0800
commitdf20383358485ac69158b6dd4bec1a3c2e5bf9ea (patch)
tree26bb6fdbcdebdc41d7abc567d66cb6ddda44dffd /src/storage
parent7114c007f02e6005fd08b5647e48d53184a0739a (diff)
downloadlibpinyin-df20383358485ac69158b6dd4bec1a3c2e5bf9ea.tar.gz
libpinyin-df20383358485ac69158b6dd4bec1a3c2e5bf9ea.tar.xz
libpinyin-df20383358485ac69158b6dd4bec1a3c2e5bf9ea.zip
improves get chewing
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/chewing_key.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h
index 3e5c4b9..a9dde9a 100644
--- a/src/storage/chewing_key.h
+++ b/src/storage/chewing_key.h
@@ -96,7 +96,9 @@ enum ChewingFinal
CHEWING_O = 13, /* "ㄛ". */
PINYIN_ONG = 14, /* "ueng". */
CHEWING_OU = 15, /* "ㄡ". */
- CHEWING_LAST_FINAL = CHEWING_OU,
+ PINYIN_IN = 16, /* "ien". */
+ PINYIN_ING = 17, /* "ieng". */
+ CHEWING_LAST_FINAL = CHEWING_ING,
CHEWING_NUMBER_OF_FINALS = CHEWING_LAST_FINAL + 1
};
@@ -120,7 +122,7 @@ struct ChewingKey
{
guint16 m_initial : 5;
guint16 m_middle : 2;
- guint16 m_final : 4;
+ guint16 m_final : 5;
guint16 m_tone : 3;
};