diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-27 14:05:04 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-27 14:05:04 +0800 |
commit | 27b889202f81006fb16566b4f460fd353a5ff689 (patch) | |
tree | 1bb794223e807050c3928e82878329c7aed84b4f /src/PYPBopomofoEditor.cc | |
parent | 9d175347f6bbe6b1655c34fee71fb7aad3b24e31 (diff) | |
download | ibus-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.cc | 2 |
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; } |