[DEV] editork work again like as previous

This commit is contained in:
2013-05-21 09:50:19 +02:00
parent 7b456f1cdb
commit 543cd8ddf1
7 changed files with 20 additions and 21 deletions

View File

@@ -1001,7 +1001,7 @@ void BufferText::AddChar(uniChar_t unicodeData)
// normal adding char ...
if (true == m_EdnBuf.GetUTF8Mode()) {
char tmpUTF8[16];
unicode::convertUnicodeToUtf8(unicodeData, tmpUTF8);
unicodeData.GetUtf8(tmpUTF8);
etk::Vector<int8_t> tmpVect;
int32_t localOfset = strlen(tmpUTF8);
tmpVect.PushBack((int8_t*)tmpUTF8, localOfset);