You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +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:
16
thirdparty/icu4c/common/patternprops.cpp
vendored
16
thirdparty/icu4c/common/patternprops.cpp
vendored
@@ -164,8 +164,8 @@ PatternProps::isWhiteSpace(UChar32 c) {
|
||||
}
|
||||
}
|
||||
|
||||
const UChar *
|
||||
PatternProps::skipWhiteSpace(const UChar *s, int32_t length) {
|
||||
const char16_t *
|
||||
PatternProps::skipWhiteSpace(const char16_t *s, int32_t length) {
|
||||
while(length>0 && isWhiteSpace(*s)) {
|
||||
++s;
|
||||
--length;
|
||||
@@ -183,8 +183,8 @@ PatternProps::skipWhiteSpace(const UnicodeString& s, int32_t start) {
|
||||
return i;
|
||||
}
|
||||
|
||||
const UChar *
|
||||
PatternProps::trimWhiteSpace(const UChar *s, int32_t &length) {
|
||||
const char16_t *
|
||||
PatternProps::trimWhiteSpace(const char16_t *s, int32_t &length) {
|
||||
if(length<=0 || (!isWhiteSpace(s[0]) && !isWhiteSpace(s[length-1]))) {
|
||||
return s;
|
||||
}
|
||||
@@ -205,11 +205,11 @@ PatternProps::trimWhiteSpace(const UChar *s, int32_t &length) {
|
||||
}
|
||||
|
||||
UBool
|
||||
PatternProps::isIdentifier(const UChar *s, int32_t length) {
|
||||
PatternProps::isIdentifier(const char16_t *s, int32_t length) {
|
||||
if(length<=0) {
|
||||
return false;
|
||||
}
|
||||
const UChar *limit=s+length;
|
||||
const char16_t *limit=s+length;
|
||||
do {
|
||||
if(isSyntaxOrWhiteSpace(*s++)) {
|
||||
return false;
|
||||
@@ -218,8 +218,8 @@ PatternProps::isIdentifier(const UChar *s, int32_t length) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const UChar *
|
||||
PatternProps::skipIdentifier(const UChar *s, int32_t length) {
|
||||
const char16_t *
|
||||
PatternProps::skipIdentifier(const char16_t *s, int32_t length) {
|
||||
while(length>0 && !isSyntaxOrWhiteSpace(*s)) {
|
||||
++s;
|
||||
--length;
|
||||
|
||||
Reference in New Issue
Block a user