components/ksh93/patches/multi_lang_arith.patch
changeset 844 55358dcf0cb2
parent 789 5f074ca23733
equal deleted inserted replaced
843:190d2b5889a8 844:55358dcf0cb2
     4 @@ -414,7 +414,7 @@ S2F_function(str, end) char* str; char**
     4 @@ -414,7 +414,7 @@ S2F_function(str, end) char* str; char**
     5  			m = 0;
     5  			m = 0;
     6  			fraction = digits;
     6  			fraction = digits;
     7  		}
     7  		}
     8 -		else if (c != thousand)
     8 -		else if (c != thousand)
     9 +		else if (c != thousand || (c == thousand && decimal == -1)
     9 +		else if (c != thousand || (c == thousand && decimal == -1))
    10  			break;
    10  			break;
    11  		else if (!(m = digits))
    11  		else if (!(m = digits))
    12  		{
    12  		{