mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-5192 Code review cleanup
X-SVN-Rev: 19606
This commit is contained in:
parent
3a31ab328e
commit
d6d4d2f647
1 changed files with 4 additions and 4 deletions
|
@ -2923,10 +2923,10 @@ uint32_t ucol_prv_getSpecialCE(const UCollator *coll, UChar ch, uint32_t CE, col
|
|||
}
|
||||
|
||||
// Skipping over leading zeroes.
|
||||
if (digVal != 0 || nonZeroValReached){
|
||||
if (digVal != 0 && !nonZeroValReached)
|
||||
nonZeroValReached = TRUE;
|
||||
|
||||
if (digVal != 0) {
|
||||
nonZeroValReached = TRUE;
|
||||
}
|
||||
if (nonZeroValReached) {
|
||||
/*
|
||||
We parse the digit string into base 100 numbers (this fits into a byte).
|
||||
We only add to the buffer in twos, thus if we are parsing an odd character,
|
||||
|
|
Loading…
Add table
Reference in a new issue