ICU-512 accidentally modifed the wrong line for (isParseIntegerOnly() || sawDecimal)

X-SVN-Rev: 2132
This commit is contained in:
George Rhoten 2000-08-08 02:13:55 +00:00
parent 965e162a6b
commit 74b568ba6d

View File

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