mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 14:57:32 +09:00
Issue #1971 - Part 2: Update ICU source to 63.2.
This commit is contained in:
parent
8df84683be
commit
1e69214382
3160 changed files with 275815 additions and 234203 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
*******************************************************************************
|
||||
|
|
@ -403,13 +403,13 @@ CollationKeys::writeSortKeyUpToQuaternary(CollationIterator &iter,
|
|||
uint8_t *secs = secondaries.data();
|
||||
int32_t last = secondaries.length() - 1;
|
||||
if(secSegmentStart < last) {
|
||||
uint8_t *p = secs + secSegmentStart;
|
||||
uint8_t *q = secs + last;
|
||||
uint8_t *q = secs + secSegmentStart;
|
||||
uint8_t *r = secs + last;
|
||||
do {
|
||||
uint8_t b = *p;
|
||||
*p++ = *q;
|
||||
*q-- = b;
|
||||
} while(p < q);
|
||||
uint8_t b = *q;
|
||||
*q++ = *r;
|
||||
*r-- = b;
|
||||
} while(q < r);
|
||||
}
|
||||
secondaries.appendByte(p == Collation::NO_CE_PRIMARY ?
|
||||
Collation::LEVEL_SEPARATOR_BYTE : Collation::MERGE_SEPARATOR_BYTE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue