mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 23:10:40 +00:00
ICU-559 fixed pointer to a stack variable bug.
X-SVN-Rev: 2683
This commit is contained in:
parent
ab2b4c9240
commit
a7fc9250ac
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ NumberFormat::createInstance(const Locale& desiredLocale,
|
|||
// resource data in place.
|
||||
//const UnicodeString& pattern = style < patternCount ?
|
||||
// numberPatterns[style] : fgLastResortNumberPatterns[style];
|
||||
const UnicodeString& pattern = style < numberPatterns.getSize()?
|
||||
const UnicodeString pattern = style < numberPatterns.getSize()?
|
||||
numberPatterns.getStringEx(style, status) : fgLastResortNumberPatterns[style];
|
||||
|
||||
// Loads the decimal symbols of the desired locale.
|
||||
|
|
Loading…
Add table
Reference in a new issue