X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/48b980fed3435926e0b3a8d72ecb58be703a1c7a..729e4ab9bc6618bc3d8a898e575df7f4019e29ca:/icuSources/common/ucnvscsu.c diff --git a/icuSources/common/ucnvscsu.c b/icuSources/common/ucnvscsu.c index 910a4920..76e973d0 100644 --- a/icuSources/common/ucnvscsu.c +++ b/icuSources/common/ucnvscsu.c @@ -1,7 +1,7 @@ /* ****************************************************************************** * -* Copyright (C) 2000-2006, International Business Machines +* Copyright (C) 2000-2009, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** @@ -190,10 +190,12 @@ _SCSUReset(UConverter *cnv, UConverterResetChoice choice) { static void _SCSUOpen(UConverter *cnv, - const char *name, - const char *locale, - uint32_t options, + UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) { + const char *locale=pArgs->locale; + if(pArgs->onlyTestIsLoadable) { + return; + } cnv->extraInfo=uprv_malloc(sizeof(SCSUData)); if(cnv->extraInfo!=NULL) { if(locale!=NULL && locale[0]=='j' && locale[1]=='a' && (locale[2]==0 || locale[2]=='_')) {