ICU-5691 minor bug fix
X-SVN-Rev: 24770
This commit is contained in:
parent
b6b3273af0
commit
e10cfeebfe
@ -2603,8 +2603,7 @@ ucnv_MBCSToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
|
||||
&offsets, sourceIndex,
|
||||
pArgs->flush,
|
||||
pErrorCode);
|
||||
/* TODO: nextSourceIndex+=diff instead of nextSourceIndex+diff ?? */
|
||||
sourceIndex=nextSourceIndex+(int32_t)(source-(const uint8_t *)pArgs->source);
|
||||
sourceIndex=nextSourceIndex+=(int32_t)(source-(const uint8_t *)pArgs->source);
|
||||
|
||||
if(U_FAILURE(*pErrorCode)) {
|
||||
/* not mappable or buffer overflow */
|
||||
|
Loading…
Reference in New Issue
Block a user