mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
ICU: Update to version 72.1
This commit is contained in:
8
thirdparty/icu4c/common/appendable.cpp
vendored
8
thirdparty/icu4c/common/appendable.cpp
vendored
@@ -37,23 +37,23 @@ Appendable::appendString(const UChar *s, int32_t length) {
|
||||
UChar c;
|
||||
while((c=*s++)!=0) {
|
||||
if(!appendCodeUnit(c)) {
|
||||
return FALSE;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else if(length>0) {
|
||||
const UChar *limit=s+length;
|
||||
do {
|
||||
if(!appendCodeUnit(*s++)) {
|
||||
return FALSE;
|
||||
return false;
|
||||
}
|
||||
} while(s<limit);
|
||||
}
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
UBool
|
||||
Appendable::reserveAppendCapacity(int32_t /*appendCapacity*/) {
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
UChar *
|
||||
|
||||
Reference in New Issue
Block a user