mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-5691 minor bug fix
X-SVN-Rev: 24770
This commit is contained in:
parent
b6b3273af0
commit
e10cfeebfe
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue