summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-07-11 16:31:45 +0800
committerPeng Wu <alexepico@gmail.com>2016-07-11 16:31:45 +0800
commit4f5d41b82b9fe2b76b642f89c32f3992fcd82319 (patch)
tree60767b59e35462f5bbab0c32394d5e1583a48ba2 /src
parentd91305ed078ae547912e1d130409921594fab704 (diff)
downloadibus-libpinyin-4f5d41b82b9fe2b76b642f89c32f3992fcd82319.tar.gz
ibus-libpinyin-4f5d41b82b9fe2b76b642f89c32f3992fcd82319.tar.xz
ibus-libpinyin-4f5d41b82b9fe2b76b642f89c32f3992fcd82319.zip
fixes some typos
Diffstat (limited to 'src')
-rw-r--r--src/PYPPhoneticEditor.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/PYPPhoneticEditor.cc b/src/PYPPhoneticEditor.cc
index c4651de..0ef11d7 100644
--- a/src/PYPPhoneticEditor.cc
+++ b/src/PYPPhoneticEditor.cc
@@ -156,7 +156,6 @@ PhoneticEditor::processFunctionKey (guint keyval, guint keycode, guint modifiers
return TRUE;
/* remove user phrase */
- case IBUS_d:
case IBUS_D:
{
guint index = m_lookup_table.cursorPos ();
@@ -400,7 +399,6 @@ PhoneticEditor::selectCandidate (guint i)
pinyin_guess_sentence (m_instance);
if (lookup_cursor == m_text.length ()) {
- pinyin_train (m_instance);
commit ();
return TRUE;
}