mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-634 Removed an if statement which sends the converter
into an infinite loop X-SVN-Rev: 2607
This commit is contained in:
parent
f2f786c479
commit
07de4a6245
1 changed files with 2 additions and 5 deletions
|
@ -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) ){
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue