[DEBUG] error writing

This commit is contained in:
2014-04-16 22:21:20 +02:00
parent 8d0fc9023f
commit 0821335de6
2 changed files with 4 additions and 2 deletions

View File

@@ -349,6 +349,8 @@ bool appl::TextViewer::onEventEntry(const ewol::event::Entry& _event) {
m_buffer->setSelectMode(false);
// normal adding char ...
char output[5];
output[0] = '0';
u32char::convertUtf8(localValue, output);
if ( m_buffer->hasTextSelected() == false
&& _event.getSpecialKey().getInsert() == true) {
appl::Buffer::Iterator pos = m_buffer->cursor();