mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-8971 changes undone
X-SVN-Rev: 31977
This commit is contained in:
parent
1c3cb575f7
commit
fab050ad44
1 changed files with 1 additions and 1 deletions
|
@ -1701,7 +1701,7 @@ _canonicalize(const char* localeID,
|
|||
}
|
||||
if(_isIDSeparator(*tmpLocaleID)) {
|
||||
/* If there is something else, then we add the _ if we found country before.*/
|
||||
if (cntrySize >= 0 && ! _isIDSeparator(*(tmpLocaleID+1)) ) {
|
||||
if (cntrySize > 0 ) {
|
||||
++fieldCount;
|
||||
if(len<nameCapacity) {
|
||||
name[len]='_';
|
||||
|
|
Loading…
Add table
Reference in a new issue