mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +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
|
||||
/*
|
||||
**********************************************************************
|
||||
|
|
@ -498,7 +498,7 @@ inline void setShiftTable(int16_t shift[], int16_t backshift[],
|
|||
for (count = 0; count < cesize; count ++) {
|
||||
// number of ces from right of array to the count
|
||||
int temp = defaultforward - count - 1;
|
||||
shift[hashFromCE32(cetable[count])] = temp > 1 ? temp : 1;
|
||||
shift[hashFromCE32(cetable[count])] = temp > 1 ? static_cast<int16_t>(temp) : 1;
|
||||
}
|
||||
shift[hashFromCE32(cetable[cesize])] = 1;
|
||||
// for ignorables we just shift by one. see test examples.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue