From c9d7cd3ce501e7134692c51b3ba42e2eb079b312 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Sat, 24 Apr 2010 15:31:13 +0800 Subject: Fix half and full punch problem --- src/FallbackEditor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/FallbackEditor.cc') diff --git a/src/FallbackEditor.cc b/src/FallbackEditor.cc index e530539..2ea7a79 100644 --- a/src/FallbackEditor.cc +++ b/src/FallbackEditor.cc @@ -89,7 +89,7 @@ FallbackEditor::processPunct (guint keyval, guint keycode, guint modifiers) case ',': commit (","); return TRUE; case '.': - if (m_prev_commited_char >= '0' && m_prev_commited_char <= '9') + if (m_prev_committed_char >= '0' && m_prev_committed_char <= '9') commit (keyval); else commit ("。"); @@ -183,7 +183,7 @@ void FallbackEditor::reset (void) { m_quote = TRUE; m_double_quote = TRUE; - m_prev_commited_char = 0; + m_prev_committed_char = 0; } -- cgit