summaryrefslogtreecommitdiffstats
path: root/src/PYPBopomofoEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-27 14:05:04 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-27 14:05:04 +0800
commit27b889202f81006fb16566b4f460fd353a5ff689 (patch)
tree1bb794223e807050c3928e82878329c7aed84b4f /src/PYPBopomofoEditor.cc
parent9d175347f6bbe6b1655c34fee71fb7aad3b24e31 (diff)
downloadibus-libpinyin-27b889202f81006fb16566b4f460fd353a5ff689.tar.gz
ibus-libpinyin-27b889202f81006fb16566b4f460fd353a5ff689.tar.xz
ibus-libpinyin-27b889202f81006fb16566b4f460fd353a5ff689.zip
fixes crash
Diffstat (limited to 'src/PYPBopomofoEditor.cc')
-rw-r--r--src/PYPBopomofoEditor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PYPBopomofoEditor.cc b/src/PYPBopomofoEditor.cc
index 81ac541..40f6236 100644
--- a/src/PYPBopomofoEditor.cc
+++ b/src/PYPBopomofoEditor.cc
@@ -237,7 +237,7 @@ LibPinyinBopomofoEditor::updatePinyin (void)
if (G_UNLIKELY (m_text.empty ())) {
m_pinyin_len = 0;
/* TODO: check whether to replace "" with NULL. */
- pinyin_parse_more_chewings (m_instance, NULL);
+ pinyin_parse_more_chewings (m_instance, "");
return;
}