From 987b82c533f31d6730c4057b67d6cb59b30d8c74 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 14 Oct 2015 16:49:26 +0800 Subject: update chewing_key.h --- src/storage/chewing_key.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/storage/chewing_key.cpp') 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]); -- cgit