mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-24 23:48:31 -04:00
Fixed getText in Text widget.
This commit is contained in:
1 parent
418081304b
commit
edf7e8ac57
3 files changed
+17
-8
No files matched your search
@@ -311,7 +311,8 @@ UTF8& UTF8::operator+=( const UTF8& utf ) {
|
||||
data = newData;
|
||||
sizeAllocated = newSizeAllocated;
|
||||
strLength += utf.strLength;
|
||||
sizeUsed += utf.sizeUsed;
|
||||
//-1 is to ignore double null terminator as it is counted in sizeUsed
|
||||
sizeUsed += utf.sizeUsed-1;
|
||||
lastIndex = 0;
|
||||
lastIndexData = data;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user