You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Update HarfBuzz, ICU and FreeType
HarfBuzz: Update to version 7.3.0 ICU4C: Update to version 73.1 FreeType: Update to version 2.13.0
This commit is contained in:
4
thirdparty/icu4c/common/uarrsort.cpp
vendored
4
thirdparty/icu4c/common/uarrsort.cpp
vendored
@@ -256,10 +256,10 @@ U_CAPI void U_EXPORT2
|
||||
uprv_sortArray(void *array, int32_t length, int32_t itemSize,
|
||||
UComparator *cmp, const void *context,
|
||||
UBool sortStable, UErrorCode *pErrorCode) {
|
||||
if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
|
||||
if(pErrorCode==nullptr || U_FAILURE(*pErrorCode)) {
|
||||
return;
|
||||
}
|
||||
if((length>0 && array==NULL) || length<0 || itemSize<=0 || cmp==NULL) {
|
||||
if((length>0 && array==nullptr) || length<0 || itemSize<=0 || cmp==nullptr) {
|
||||
*pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user