ICU-4630 NULL terminate string.

X-SVN-Rev: 18173
This commit is contained in:
George Rhoten 2005-07-08 17:14:18 +00:00
parent b90e172c19
commit c753a1da12

View File

@ -481,7 +481,7 @@ public:
: NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominator)
{
ldenominator = util64_fromDouble(denominator);
UChar LTLT[] = { 0x003c, 0x003c };
UChar LTLT[] = { 0x003c, 0x003c, 0 };
withZeros = description.endsWith(LTLT);
}