]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/ucnvscsu.c
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / common / ucnvscsu.c
index 910a49202252e021058c2d867d3f93f099072239..76e973d0598aa5dd563fd06bd4c53e11dbd94b6a 100644 (file)
@@ -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]=='_')) {