diff options
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 8d49614..a18e9ef 100644 --- a/src/PYPBopomofoEditor.cc +++ b/src/PYPBopomofoEditor.cc @@ -330,7 +330,7 @@ BopomofoEditor::updatePreeditText () size_t offset = 0; guint cursor = getPinyinCursor (); - pinyin_get_character_offset(m_instance, sentence, cursor, &offset); + assert (pinyin_get_character_offset(m_instance, sentence, cursor, &offset)); Editor::updatePreeditText (preedit_text, offset, TRUE); if (sentence) |