ICU-2080 fix for the getSize bug

X-SVN-Rev: 13630
This commit is contained in:
Vladimir Weinstein 2003-11-07 08:57:10 +00:00
parent 12f5fb03dd
commit 877e86fcd8

View file

@ -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: {