diff options
author | Peng Wu <alexepico@gmail.com> | 2015-10-17 11:11:46 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-10-17 11:11:46 +0800 |
commit | 328631e0957a48cd98bf3809ba0a221d1172904f (patch) | |
tree | b9c0b0e5becc7ad0a7959bef0bf1bfb27e960f40 /src/PYPBopomofoEditor.cc | |
parent | 0c854b51dadbb18fb5e74eb3d7c744807a5ec312 (diff) | |
download | ibus-libpinyin-328631e0957a48cd98bf3809ba0a221d1172904f.tar.gz ibus-libpinyin-328631e0957a48cd98bf3809ba0a221d1172904f.tar.xz ibus-libpinyin-328631e0957a48cd98bf3809ba0a221d1172904f.zip |
use libpinyin 1.2.91
Diffstat (limited to 'src/PYPBopomofoEditor.cc')
-rw-r--r-- | src/PYPBopomofoEditor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PYPBopomofoEditor.cc b/src/PYPBopomofoEditor.cc index 43a0203..fb0ebf9 100644 --- a/src/PYPBopomofoEditor.cc +++ b/src/PYPBopomofoEditor.cc @@ -353,7 +353,7 @@ BopomofoEditor::updateAuxiliaryText (void) gchar * str = NULL; if (G_UNLIKELY (cursor == m_cursor)) { /* at word boundary. */ - pinyin_get_chewing_string (m_instance, key, &str); + pinyin_get_zhuyin_string (m_instance, key, &str); m_buffer << '|' << str; g_free (str); } else if (G_LIKELY (cursor < m_cursor && @@ -383,7 +383,7 @@ BopomofoEditor::updateAuxiliaryText (void) m_buffer << *iter; } } else { /* other words */ - pinyin_get_chewing_string (m_instance, key, &str); + pinyin_get_zhuyin_string (m_instance, key, &str); m_buffer << ' ' << str; g_free (str); } |