ICU-1855 changes according to code review

X-SVN-Rev: 10361
This commit is contained in:
Vladimir Weinstein 2002-11-23 00:52:55 +00:00
parent 5c50437c3b
commit e56cb89e0d

View File

@ -616,8 +616,8 @@ uint8_t ucol_uprv_tok_readAndSetOption(UColTokenParser *src, UErrorCode *status)
} else {
*status = U_UNSUPPORTED_ERROR;
}
while(*(src->current) != 0x005d && ++src->current < src->end);
//src->current = u_strchr(src->current, 0x005d /*']'*/);
src->current = u_memchr(src->current, 0x005d, src->end-src->current);
return result;
}