ICU-866 initially copy subchar1 from static to runtime data

X-SVN-Rev: 3782
This commit is contained in:
Markus Scherer 2001-02-26 19:46:30 +00:00
parent 85224a58fd
commit 18a5fed5b4

View File

@ -446,6 +446,7 @@ UConverter *
myUConverter->fromCharErrorBehaviour = (UConverterToUCallback) UCNV_TO_U_CALLBACK_SUBSTITUTE;
myUConverter->fromUCharErrorBehaviour = (UConverterFromUCallback) UCNV_FROM_U_CALLBACK_SUBSTITUTE;
myUConverter->toUnicodeStatus = myUConverter->sharedData->toUnicodeStatus;
myUConverter->subChar1 = myUConverter->sharedData->staticData->subChar1;
myUConverter->subCharLen = myUConverter->sharedData->staticData->subCharLen;
uprv_memcpy (myUConverter->subChar, myUConverter->sharedData->staticData->subChar, myUConverter->subCharLen);