You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +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:
18
thirdparty/icu4c/common/uchriter.cpp
vendored
18
thirdparty/icu4c/common/uchriter.cpp
vendored
@@ -75,7 +75,7 @@ UCharCharacterIterator::operator==(const ForwardCharacterIterator& that) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
UCharCharacterIterator& realThat = (UCharCharacterIterator&)that;
|
||||
const UCharCharacterIterator& realThat = static_cast<const UCharCharacterIterator&>(that);
|
||||
|
||||
return text == realThat.text
|
||||
&& textLength == realThat.textLength
|
||||
@@ -94,7 +94,7 @@ UCharCharacterIterator::clone() const {
|
||||
return new UCharCharacterIterator(*this);
|
||||
}
|
||||
|
||||
UChar
|
||||
char16_t
|
||||
UCharCharacterIterator::first() {
|
||||
pos = begin;
|
||||
if(pos < end) {
|
||||
@@ -104,7 +104,7 @@ UCharCharacterIterator::first() {
|
||||
}
|
||||
}
|
||||
|
||||
UChar
|
||||
char16_t
|
||||
UCharCharacterIterator::firstPostInc() {
|
||||
pos = begin;
|
||||
if(pos < end) {
|
||||
@@ -114,7 +114,7 @@ UCharCharacterIterator::firstPostInc() {
|
||||
}
|
||||
}
|
||||
|
||||
UChar
|
||||
char16_t
|
||||
UCharCharacterIterator::last() {
|
||||
pos = end;
|
||||
if(pos > begin) {
|
||||
@@ -124,7 +124,7 @@ UCharCharacterIterator::last() {
|
||||
}
|
||||
}
|
||||
|
||||
UChar
|
||||
char16_t
|
||||
UCharCharacterIterator::setIndex(int32_t position) {
|
||||
if(position < begin) {
|
||||
pos = begin;
|
||||
@@ -140,7 +140,7 @@ UCharCharacterIterator::setIndex(int32_t position) {
|
||||
}
|
||||
}
|
||||
|
||||
UChar
|
||||
char16_t
|
||||
UCharCharacterIterator::current() const {
|
||||
if (pos >= begin && pos < end) {
|
||||
return text[pos];
|
||||
@@ -149,7 +149,7 @@ UCharCharacterIterator::current() const {
|
||||
}
|
||||
}
|
||||
|
||||
UChar
|
||||
char16_t
|
||||
UCharCharacterIterator::next() {
|
||||
if (pos + 1 < end) {
|
||||
return text[++pos];
|
||||
@@ -160,7 +160,7 @@ UCharCharacterIterator::next() {
|
||||
}
|
||||
}
|
||||
|
||||
UChar
|
||||
char16_t
|
||||
UCharCharacterIterator::nextPostInc() {
|
||||
if (pos < end) {
|
||||
return text[pos++];
|
||||
@@ -174,7 +174,7 @@ UCharCharacterIterator::hasNext() {
|
||||
return (UBool)(pos < end ? true : false);
|
||||
}
|
||||
|
||||
UChar
|
||||
char16_t
|
||||
UCharCharacterIterator::previous() {
|
||||
if (pos > begin) {
|
||||
return text[--pos];
|
||||
|
||||
Reference in New Issue
Block a user