diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-21 12:53:51 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-22 12:23:15 +0800 |
commit | 98118c2e9ef40e1ce33806a03d206a0e6027e65f (patch) | |
tree | b318cce526133958b0e628d6afee0fc8d5ad9743 /src/PYPFullPinyinEditor.cc | |
parent | e0af17eacda954dadaf84c474e6dedd707986f80 (diff) | |
download | ibus-libpinyin-98118c2e9ef40e1ce33806a03d206a0e6027e65f.tar.gz ibus-libpinyin-98118c2e9ef40e1ce33806a03d206a0e6027e65f.tar.xz ibus-libpinyin-98118c2e9ef40e1ce33806a03d206a0e6027e65f.zip |
update bopomofo editor
Diffstat (limited to 'src/PYPFullPinyinEditor.cc')
-rw-r--r-- | src/PYPFullPinyinEditor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PYPFullPinyinEditor.cc b/src/PYPFullPinyinEditor.cc index 3ef36b3..2111143 100644 --- a/src/PYPFullPinyinEditor.cc +++ b/src/PYPFullPinyinEditor.cc @@ -106,7 +106,7 @@ LibPinyinFullPinyinEditor::updateAuxiliaryText () m_cursor < pos->m_raw_end )) { /* in word */ /* raw text */ String raw = m_text.substr (cursor, - pos->m_raw_end - pos->m_raw_begin); + pos->length ()); guint offset = m_cursor - cursor; m_buffer << ' ' << raw.substr (0, offset) << '|' << raw.substr (offset); |