summaryrefslogtreecommitdiffstats
path: root/src/PYPBopomofoEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-03-22 15:03:19 +0800
committerPeng Wu <alexepico@gmail.com>2013-03-22 15:03:19 +0800
commit78bb55af56ff09fe61573cb3b778f0a4e8326c73 (patch)
tree0bff55659f5e32200325bdf7b4812e8c01f563ce /src/PYPBopomofoEditor.cc
parentd375107f4c4118ecc4f74cb11e5372a42e8554b5 (diff)
downloadibus-libpinyin-78bb55af56ff09fe61573cb3b778f0a4e8326c73.tar.gz
ibus-libpinyin-78bb55af56ff09fe61573cb3b778f0a4e8326c73.tar.xz
ibus-libpinyin-78bb55af56ff09fe61573cb3b778f0a4e8326c73.zip
fixes compile
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 3c0b9bc..5c901c2 100644
--- a/src/PYPBopomofoEditor.cc
+++ b/src/PYPBopomofoEditor.cc
@@ -358,7 +358,7 @@ LibPinyinBopomofoEditor::updateAuxiliaryText (void)
m_cursor < end)) { /* in word */
/* raw text */
guint16 length = 0;
- pinyin_get_key_rest_length (m_instance, pos, &length);
+ pinyin_get_pinyin_key_rest_length (m_instance, pos, &length);
String raw = m_text.substr (cursor, length);
guint offset = m_cursor - cursor;