mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-6608 Redo previous change due to accidental removal by revision #27717.
X-SVN-Rev: 27767
This commit is contained in:
parent
78c2548e2e
commit
126fb0e574
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ createConverter(ConvData *data, const char *converterName, UErrorCode *pErrorCod
|
|||
fprintf(stderr, " the substitution character byte sequence is illegal in this codepage structure!\n");
|
||||
*pErrorCode=U_INVALID_TABLE_FORMAT;
|
||||
|
||||
} else if(1!=ucm_countChars(baseStates, &staticData->subChar1, 1)) {
|
||||
} else if(staticData->subChar1!=0 && 1!=ucm_countChars(baseStates, &staticData->subChar1, 1)) {
|
||||
fprintf(stderr, " the subchar1 byte is illegal in this codepage structure!\n");
|
||||
*pErrorCode=U_INVALID_TABLE_FORMAT;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue