ICU-3109 Something is wrong in Thai - revert to slower but working thing

X-SVN-Rev: 12687
This commit is contained in:
Vladimir Weinstein 2003-07-25 07:06:40 +00:00
parent 29de7f8abe
commit 49dcdabc99

View File

@ -2657,7 +2657,7 @@ uint32_t ucol_prv_getSpecialCE(const UCollator *coll, UChar ch, uint32_t CE, col
}
// Now we have the character that needs to be decomposed
// if the normalizing buffer was not used, we can just use our structure and be happy.
if((source->flags & UCOL_ITER_INNORMBUF) == 0) {
if(source->flags & UCOL_ITER_INNORMBUF == 0) {
// decompose into writable buffer
int32_t decompLen = unorm_getDecomposition(cp, FALSE, &(source->writableBuffer[1]), UCOL_WRITABLE_BUFFER_SIZE-1);
if(decompLen < 0) {