summaryrefslogtreecommitdiffstats
path: root/src/PYStrokeEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2018-03-15 16:14:34 +0800
committerPeng Wu <alexepico@gmail.com>2018-03-15 16:14:34 +0800
commit9619fac3d1fcc6f85e6bd0a6022989a0a4fe57ad (patch)
tree4644565377381f57b6a1c803bf2b365ee28bb18e /src/PYStrokeEditor.cc
parent8b52e709e857297b28fc76e9034f799538a42f5b (diff)
downloadibus-libpinyin-9619fac3d1fcc6f85e6bd0a6022989a0a4fe57ad.tar.gz
ibus-libpinyin-9619fac3d1fcc6f85e6bd0a6022989a0a4fe57ad.tar.xz
ibus-libpinyin-9619fac3d1fcc6f85e6bd0a6022989a0a4fe57ad.zip
fixes String usage
Diffstat (limited to 'src/PYStrokeEditor.cc')
-rw-r--r--src/PYStrokeEditor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PYStrokeEditor.cc b/src/PYStrokeEditor.cc
index af26baa..56a5839 100644
--- a/src/PYStrokeEditor.cc
+++ b/src/PYStrokeEditor.cc
@@ -378,7 +378,7 @@ StrokeEditor::updateStateFromInput (void)
return FALSE;
}
- m_auxiliary_text.printf("%c", m_text[0]);
+ m_auxiliary_text = m_text[0];
if (1 == m_text.length ()) {
clearLookupTable ();