mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-3346 do not copy subChar1
X-SVN-Rev: 13711
This commit is contained in:
parent
9e8b274329
commit
be20a30b7d
1 changed files with 5 additions and 7 deletions
|
@ -763,13 +763,11 @@ createConverter(ConvData *data, const char *converterName, UErrorCode *pErrorCod
|
|||
uprv_memcpy(staticData->subChar, baseData.staticData.subChar, 4);
|
||||
staticData->subCharLen=baseData.staticData.subCharLen;
|
||||
}
|
||||
if(states->minCharLength==1 && states->maxCharLength>=2) {
|
||||
if(staticData->subChar1==0) {
|
||||
staticData->subChar1=baseData.staticData.subChar1;
|
||||
}
|
||||
} else {
|
||||
staticData->subChar1=0;
|
||||
}
|
||||
/*
|
||||
* do not copy subChar1 -
|
||||
* only use what is explicitly specified
|
||||
* because it cannot be unset in the extension file header
|
||||
*/
|
||||
|
||||
/* get the fallback flags */
|
||||
fallbackFlags=0;
|
||||
|
|
Loading…
Add table
Reference in a new issue