mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-2080 fix for the getSize bug
X-SVN-Rev: 13630
This commit is contained in:
parent
12f5fb03dd
commit
877e86fcd8
1 changed files with 4 additions and 0 deletions
|
@ -310,6 +310,10 @@ res_countArrayItems(const ResourceData *pResData, const Resource res) {
|
|||
if(res!=RES_BOGUS) {
|
||||
switch(RES_GET_TYPE(res)) {
|
||||
case URES_STRING:
|
||||
case URES_BINARY:
|
||||
case URES_ALIAS:
|
||||
case URES_INT:
|
||||
case URES_INT_VECTOR:
|
||||
return 1;
|
||||
case URES_ARRAY:
|
||||
case URES_TABLE32: {
|
||||
|
|
Loading…
Add table
Reference in a new issue