projects
/
platform
/
upstream
/
ibus-libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b9b5d6
)
PunctEditor.c: reset editor, when commit some text to application
author
Peng Huang
<shawn.p.huang@gmail.com>
Thu, 20 May 2010 06:12:59 +0000
(14:12 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Thu, 20 May 2010 06:12:59 +0000
(14:12 +0800)
src/PunctEditor.cc
patch
|
blob
|
history
diff --git
a/src/PunctEditor.cc
b/src/PunctEditor.cc
index
b87d25f
..
e36beb2
100644
(file)
--- a/
src/PunctEditor.cc
+++ b/
src/PunctEditor.cc
@@
-435,6
+435,7
@@
PunctEditor::commit (const gchar *str)
{
StaticText text(str);
commitText (text);
+ reset ();
}
void
@@
-446,7
+447,6
@@
PunctEditor::commit (void)
m_buffer << *it;
}
- reset ();
commit (m_buffer);
}