ICU-512 accidentally modifed the wrong line for (isParseIntegerOnly() || sawDecimal)
X-SVN-Rev: 2132
This commit is contained in:
parent
965e162a6b
commit
74b568ba6d
@ -1205,11 +1205,10 @@ UBool DecimalFormat::subparse(const UnicodeString& text, ParsePosition& parsePos
|
||||
{
|
||||
// If we're only parsing integers, or if we ALREADY saw the
|
||||
// decimal, then don't parse this one.
|
||||
if (!isParseIntegerOnly() && !sawDecimal)
|
||||
{
|
||||
digits.fDecimalAt = digitCount; // Not digits.fCount!
|
||||
sawDecimal = TRUE;
|
||||
}
|
||||
if (isParseIntegerOnly() || sawDecimal)
|
||||
break;
|
||||
digits.fDecimalAt = digitCount; // Not digits.fCount!
|
||||
sawDecimal = TRUE;
|
||||
}
|
||||
else if (!isExponent && ch == grouping && isGroupingUsed())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user