mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Add Memory::Copy overlap check and Memory::Move
This commit is contained in:
@@ -251,7 +251,7 @@ namespace String
|
||||
assert(newStringSize < currentStringSize);
|
||||
#endif
|
||||
|
||||
Memory::Copy(str, firstNonWhitespace, newStringSize);
|
||||
Memory::Move(str, firstNonWhitespace, newStringSize);
|
||||
str[newStringSize] = '\0';
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user