You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +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:
8
thirdparty/icu4c/common/ucnv_set.cpp
vendored
8
thirdparty/icu4c/common/ucnv_set.cpp
vendored
@@ -34,23 +34,23 @@ ucnv_getUnicodeSet(const UConverter *cnv,
|
||||
UConverterUnicodeSet whichSet,
|
||||
UErrorCode *pErrorCode) {
|
||||
/* argument checking */
|
||||
if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
|
||||
if(pErrorCode==nullptr || U_FAILURE(*pErrorCode)) {
|
||||
return;
|
||||
}
|
||||
if(cnv==NULL || setFillIn==NULL || whichSet<UCNV_ROUNDTRIP_SET || UCNV_SET_COUNT<=whichSet) {
|
||||
if(cnv==nullptr || setFillIn==nullptr || whichSet<UCNV_ROUNDTRIP_SET || UCNV_SET_COUNT<=whichSet) {
|
||||
*pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
|
||||
return;
|
||||
}
|
||||
|
||||
/* does this converter support this function? */
|
||||
if(cnv->sharedData->impl->getUnicodeSet==NULL) {
|
||||
if(cnv->sharedData->impl->getUnicodeSet==nullptr) {
|
||||
*pErrorCode=U_UNSUPPORTED_ERROR;
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
USetAdder sa={
|
||||
NULL,
|
||||
nullptr,
|
||||
uset_add,
|
||||
uset_addRange,
|
||||
uset_addString,
|
||||
|
||||
Reference in New Issue
Block a user