From 4f5d41b82b9fe2b76b642f89c32f3992fcd82319 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 11 Jul 2016 16:31:45 +0800 Subject: fixes some typos --- src/PYPPhoneticEditor.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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; } -- cgit