mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 14:31:31 +00:00
ICU-807
Fix boundary error. X-SVN-Rev: 4128
This commit is contained in:
parent
ac36a8b5d7
commit
57da770f26
1 changed files with 1 additions and 1 deletions
|
@ -981,7 +981,7 @@ uint32_t getSpecialPrevCE(const UCollator *coll, uint32_t CE,
|
|||
}
|
||||
UChar *sourceCopy = source->string;
|
||||
UChar *targetCopy = source->writableBuffer;
|
||||
while (sourceCopy <= strend) {
|
||||
while (sourceCopy < strend) {
|
||||
if (UCOL_ISTHAIPREVOWEL(*sourceCopy) &&
|
||||
/* This is the combination that needs to be swapped */
|
||||
UCOL_ISTHAIBASECONSONANT(*(sourceCopy + 1))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue