mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder
This commit is contained in:
@@ -200,11 +200,11 @@ bool VariableBoxController::selectLeaf(int selectedRow) {
|
||||
if (m_currentPage == Page::Function) {
|
||||
// Add parentheses to a function name
|
||||
assert(nameLength < nameToHandleMaxSize);
|
||||
nameLength += UTF8Decoder::CodePointToChars('(', nameToHandle+nameLength, nameToHandleMaxSize - nameLength);
|
||||
nameLength += Ion::UTF8Decoder::CodePointToChars('(', nameToHandle+nameLength, nameToHandleMaxSize - nameLength);
|
||||
assert(nameLength < nameToHandleMaxSize);
|
||||
nameLength+= UTF8Decoder::CodePointToChars(UCodePointEmpty, nameToHandle+nameLength, nameToHandleMaxSize - nameLength);
|
||||
nameLength+= Ion::UTF8Decoder::CodePointToChars(UCodePointEmpty, nameToHandle+nameLength, nameToHandleMaxSize - nameLength);
|
||||
assert(nameLength < nameToHandleMaxSize);
|
||||
nameLength += UTF8Decoder::CodePointToChars(')', nameToHandle+nameLength, nameToHandleMaxSize - nameLength);
|
||||
nameLength += Ion::UTF8Decoder::CodePointToChars(')', nameToHandle+nameLength, nameToHandleMaxSize - nameLength);
|
||||
assert(nameLength < nameToHandleMaxSize);
|
||||
nameToHandle[nameLength] = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user