From 07de4a6245767d199fc2bca6f22867ae5216d71b Mon Sep 17 00:00:00 2001 From: Ram Viswanadha Date: Mon, 9 Oct 2000 18:50:01 +0000 Subject: [PATCH] ICU-634 Removed an if statement which sends the converter into an infinite loop X-SVN-Rev: 2607 --- icu4c/source/common/ucnv2022.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/icu4c/source/common/ucnv2022.c b/icu4c/source/common/ucnv2022.c index afea5003221..f5acfa704e5 100644 --- a/icu4c/source/common/ucnv2022.c +++ b/icu4c/source/common/ucnv2022.c @@ -1349,11 +1349,8 @@ U_CFUNC void UConverter_fromUnicode_ISO_2022_JP(UConverterFromUnicodeArgs* args, else{ iterCount = (iterCount<8)? iterCount+1 : 0; - if(mySourceChar>0x00ff && currentState==7){ - myConverterData->currentState=currentState=(StateEnum)4; - } - else - myConverterData->currentState=currentState=(StateEnum)(currentState<7)? currentState+1:0; + + myConverterData->currentState=currentState=(StateEnum)(currentState<7)? currentState+1:0; if((currentState!= initIterState) ){