summaryrefslogtreecommitdiffstats
path: root/src/storage/chewing_key.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/chewing_key.cpp')
-rw-r--r--src/storage/chewing_key.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/storage/chewing_key.cpp b/src/storage/chewing_key.cpp
index 26a3642..735a2f0 100644
--- a/src/storage/chewing_key.cpp
+++ b/src/storage/chewing_key.cpp
@@ -96,6 +96,9 @@ gchar * _ChewingKey::get_chewing_string() {
if (CHEWING_ZERO_TONE == m_tone) {
return g_strdup(item.m_zhuyin_str);
+ } else if (CHEWING_1 == m_tone) {
+ /* for first tone, usually not display it. */
+ return g_strdup(item.m_zhuyin_str);
} else {
return g_strdup_printf("%s%s", item.m_zhuyin_str,
chewing_tone_table[m_tone]);