mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-2135 fix typo more error checking
X-SVN-Rev: 10492
This commit is contained in:
parent
ae5e2c31b0
commit
7f6d1590f3
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ struct SResource *string_open(struct SRBRoot *bundle, char *tag, UChar *value, i
|
|||
}
|
||||
|
||||
uprv_memcpy(res->u.fString.fChars, value, sizeof(UChar) * (len + 1));
|
||||
res->fSize = sizeof(int32_t) + sizeof(UChar) * (len);
|
||||
res->fSize = sizeof(int32_t) + sizeof(UChar) * (len+1);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue