mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-1939 fix name comparison for purely algorithmic (intrinsic) converters: use loose match, not strcmp
X-SVN-Rev: 8856
This commit is contained in:
parent
23c6da8207
commit
2d9b8643d9
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ getAlgorithmicTypeFromName(const char *realName)
|
|||
{
|
||||
int i;
|
||||
for(i=0; i<sizeof(cnvNameType)/sizeof(cnvNameType[0]); ++i) {
|
||||
if(uprv_strcmp(realName, cnvNameType[i].name)==0) {
|
||||
if(ucnv_compareNames(realName, cnvNameType[i].name)==0) {
|
||||
return converterData[cnvNameType[i].type];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue