Sync changes from upstream repository

This commit is contained in:
Bozo the Builder
2024-08-22 01:43:04 -07:00
parent ae65ce6693
commit 904ef7893c
202 changed files with 1884 additions and 1694 deletions

View File

@@ -60,7 +60,7 @@ static ON__UINT32 MapCodePointOrdinal(
)
{
// Converts ordinal "char" and "wchar_t" element values in the
// range 0x00 to maximum_singleton_value to "ingore case" ordinal equivalents.
// range 0x00 to maximum_singleton_value to "ignore case" ordinal equivalents.
// The returned value is always <= input value.
//
// This is NOT linguistic and NOT culture invariant.
@@ -492,7 +492,7 @@ static unsigned int OrdinalUnsignedToIgnoreCase(
{
// RH-41224
// map A -> a, ..., Z -> z so underbar is before any "letter".
// The preserves the behavoir of Rhino component name sorting
// The preserves the behavior of Rhino component name sorting
// that used "ancient" C runtime ASCII sorts.
const ON_StringMapOrdinalType map_type
= ( c <= 0x7A && c >= 0x41 && maximum_singleton_value >= 0x7A )