mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
ICU-2449 Allow the converters to be loaded from testdata
X-SVN-Rev: 12824
This commit is contained in:
parent
98d6fb2fce
commit
086eac536f
1 changed files with 1 additions and 2 deletions
|
@ -92,8 +92,7 @@ static char gNuConvTestName[1024];
|
|||
static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err)
|
||||
{
|
||||
if(cnv && cnv[0] == '@') {
|
||||
loadTestData(err); /* set the data directory */
|
||||
return ucnv_openPackage("testdata", cnv+1, err);
|
||||
return ucnv_openPackage(loadTestData(err), cnv+1, err);
|
||||
} else {
|
||||
return ucnv_open(cnv, err);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue