From d6d4d2f647817616408367a3fc4a71707aedf976 Mon Sep 17 00:00:00 2001 From: Deborah Goldsmith Date: Wed, 3 May 2006 21:09:00 +0000 Subject: [PATCH] ICU-5192 Code review cleanup X-SVN-Rev: 19606 --- icu4c/source/i18n/ucol.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/icu4c/source/i18n/ucol.cpp b/icu4c/source/i18n/ucol.cpp index c46903df78b..42661e5179a 100644 --- a/icu4c/source/i18n/ucol.cpp +++ b/icu4c/source/i18n/ucol.cpp @@ -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,