diff options
Diffstat (limited to 'src/PYPPhoneticEditor.cc')
-rw-r--r-- | src/PYPPhoneticEditor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PYPPhoneticEditor.cc b/src/PYPPhoneticEditor.cc index b12b21d..c7d794a 100644 --- a/src/PYPPhoneticEditor.cc +++ b/src/PYPPhoneticEditor.cc @@ -322,7 +322,7 @@ LibPinyinPhoneticEditor::getPinyinCursor () for (size_t i = 0; i < len; ++i) { PinyinKeyPos *pos = NULL; pinyin_get_pinyin_key_rest (m_instance, i, &pos); - pinyin_get_key_rest_positions (m_instance, pos, NULL, &cur_end); + pinyin_get_pinyin_key_rest_positions (m_instance, pos, NULL, &cur_end); if (prev_end <= m_cursor && m_cursor < cur_end) pinyin_cursor = i; |