You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 17:36:07 +00:00
Update ICU to 75.1
This commit is contained in:
2
thirdparty/icu4c/common/unistr_case.cpp
vendored
2
thirdparty/icu4c/common/unistr_case.cpp
vendored
@@ -193,7 +193,7 @@ UnicodeString::caseMap(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITER
|
||||
// This is very similar to how doReplace() keeps the old array pointer
|
||||
// and deletes the old array itself after it is done.
|
||||
// In addition, we are forcing cloneArrayIfNeeded() to always allocate a new array.
|
||||
int32_t *bufferToDelete = 0;
|
||||
int32_t *bufferToDelete = nullptr;
|
||||
if (!cloneArrayIfNeeded(newLength, newLength, false, &bufferToDelete, true)) {
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user