_wayland drag wip
Some checks are pending
Build Android / Game (Android, Release ARM64) (push) Waiting to run
Build iOS / Game (iOS, Release ARM64) (push) Waiting to run
Build Linux / Editor (Linux, Development x64) (push) Waiting to run
Build Linux / Game (Linux, Release x64) (push) Waiting to run
Build macOS / Editor (Mac, Development ARM64) (push) Waiting to run
Build macOS / Game (Mac, Release ARM64) (push) Waiting to run
Build Windows / Editor (Windows, Development x64) (push) Waiting to run
Build Windows / Game (Windows, Release x64) (push) Waiting to run
Cooker / Cook (Mac) (push) Waiting to run
Tests / Tests (Linux) (push) Waiting to run
Tests / Tests (Windows) (push) Waiting to run
Some checks are pending
Build Android / Game (Android, Release ARM64) (push) Waiting to run
Build iOS / Game (iOS, Release ARM64) (push) Waiting to run
Build Linux / Editor (Linux, Development x64) (push) Waiting to run
Build Linux / Game (Linux, Release x64) (push) Waiting to run
Build macOS / Editor (Mac, Development ARM64) (push) Waiting to run
Build macOS / Game (Mac, Release ARM64) (push) Waiting to run
Build Windows / Editor (Windows, Development x64) (push) Waiting to run
Build Windows / Game (Windows, Release x64) (push) Waiting to run
Cooker / Cook (Mac) (push) Waiting to run
Tests / Tests (Linux) (push) Waiting to run
Tests / Tests (Windows) (push) Waiting to run
This commit is contained in:
@@ -420,6 +420,11 @@ void StringAnsi::Append(const char* chars, int32 count)
|
||||
_length = oldLength + count;
|
||||
_data = (char*)Platform::Allocate((_length + 1) * sizeof(char), 16);
|
||||
|
||||
for (int i = 0; i < _length + 1; i++)
|
||||
{
|
||||
_data[i] = '0' + i % 10;
|
||||
}
|
||||
|
||||
Platform::MemoryCopy(_data, oldData, oldLength * sizeof(char));
|
||||
Platform::MemoryCopy(_data + oldLength, chars, count * sizeof(char));
|
||||
_data[_length] = 0;
|
||||
|
||||
Reference in New Issue
Block a user