From 877e86fcd854890145abf6affce4d6b6d4d54c04 Mon Sep 17 00:00:00 2001 From: Vladimir Weinstein Date: Fri, 7 Nov 2003 08:57:10 +0000 Subject: [PATCH] ICU-2080 fix for the getSize bug X-SVN-Rev: 13630 --- icu4c/source/common/uresdata.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/icu4c/source/common/uresdata.c b/icu4c/source/common/uresdata.c index d5e61ef5575..f4d13715084 100644 --- a/icu4c/source/common/uresdata.c +++ b/icu4c/source/common/uresdata.c @@ -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: {