From 2c9b14e3e457c3e8f786b7a5b459e04db436d356 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Fri, 6 Jun 2014 21:44:20 +0000 Subject: [PATCH] ICU-9667 Removed a couple of paraLevel value assignment statements from setPara() to match the ICU4J change (r35820). See #9667 for more details. X-SVN-Rev: 35821 --- icu4c/source/common/ubidi.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/icu4c/source/common/ubidi.c b/icu4c/source/common/ubidi.c index 295a13513b2..f17d5f1a9eb 100644 --- a/icu4c/source/common/ubidi.c +++ b/icu4c/source/common/ubidi.c @@ -2656,16 +2656,10 @@ ubidi_setPara(UBiDi *pBiDi, const UChar *text, int32_t length, pBiDi->direction=direction; switch(direction) { case UBIDI_LTR: - /* make sure paraLevel is even */ - pBiDi->paraLevel=(UBiDiLevel)((pBiDi->paraLevel+1)&~1); - /* all levels are implicitly at paraLevel (important for ubidi_getLevels()) */ pBiDi->trailingWSStart=0; break; case UBIDI_RTL: - /* make sure paraLevel is odd */ - pBiDi->paraLevel|=1; - /* all levels are implicitly at paraLevel (important for ubidi_getLevels()) */ pBiDi->trailingWSStart=0; break; -- 2.40.0