summaryrefslogtreecommitdiffstats
path: root/src/PYPBopomofoEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-07-09 15:50:04 +0800
committerPeng Wu <alexepico@gmail.com>2012-07-09 15:50:04 +0800
commit2d8a65fdcefe0a8809740adb86f3d45d8c454793 (patch)
tree4cc50319b666825cba602528b2492862b1892715 /src/PYPBopomofoEditor.cc
parenta727155dc7dfeac0ac52e89c101003b9b2481a86 (diff)
downloadibus-libpinyin-2d8a65fdcefe0a8809740adb86f3d45d8c454793.tar.gz
ibus-libpinyin-2d8a65fdcefe0a8809740adb86f3d45d8c454793.tar.xz
ibus-libpinyin-2d8a65fdcefe0a8809740adb86f3d45d8c454793.zip
fixes updatePinyin
Diffstat (limited to 'src/PYPBopomofoEditor.cc')
-rw-r--r--src/PYPBopomofoEditor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PYPBopomofoEditor.cc b/src/PYPBopomofoEditor.cc
index 331a651..1f201b5 100644
--- a/src/PYPBopomofoEditor.cc
+++ b/src/PYPBopomofoEditor.cc
@@ -241,6 +241,7 @@ LibPinyinBopomofoEditor::updatePinyin (void)
m_pinyin_len = 0;
/* TODO: check whether to replace "" with NULL. */
pinyin_parse_more_chewings (m_instance, "");
+ pinyin_guess_sentence(m_instance);
return;
}