ICU-634 Removed an if statement which sends the converter

into an infinite loop

X-SVN-Rev: 2607
This commit is contained in:
Ram Viswanadha 2000-10-09 18:50:01 +00:00
parent f2f786c479
commit 07de4a6245

View file

@ -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) ){