mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-13217 - UWP version ends up falling back to the 'en_US' locale. (Missing lines due to bad merge).
X-SVN-Rev: 40146
This commit is contained in:
parent
694142470e
commit
de6771cb4b
1 changed files with 2 additions and 0 deletions
|
@ -1809,6 +1809,8 @@ The leftmost codepage (.xxx) wins.
|
|||
}
|
||||
|
||||
// Now normalize the resulting name
|
||||
correctedPOSIXLocale = static_cast<char *>(uprv_malloc(POSIX_LOCALE_CAPACITY + 1));
|
||||
/* TODO: Should we just exit on memory allocation failure? */
|
||||
if (correctedPOSIXLocale)
|
||||
{
|
||||
int32_t posixLen = uloc_canonicalize(modifiedWindowsLocale, correctedPOSIXLocale, POSIX_LOCALE_CAPACITY, &status);
|
||||
|
|
Loading…
Add table
Reference in a new issue