ICU-1948 restored the original values for resource bundle types in order to preserve backward compatibility
X-SVN-Rev: 9674
This commit is contained in:
parent
818fa7ad8d
commit
cf20e7b548
@ -332,7 +332,7 @@ res_findResource(const ResourceData *pResData, Resource r, const char** path, co
|
||||
int32_t indexR = 0, keyLen = 0;
|
||||
UResType type = RES_GET_TYPE(t1);
|
||||
|
||||
while(nextSepP && *pathP && t1 != RES_BOGUS && type >= RES_TABLE) {
|
||||
while(nextSepP && *pathP && t1 != RES_BOGUS && (type == RES_TABLE || type == RES_ARRAY)) {
|
||||
/* Iteration stops if: the path has been consumed, we found a non-existing
|
||||
* resource (t1 == RES_BOGUS) or we found a scalar resource (including alias)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user