ICU-2153 fix bug in charSetToUSet - used global variable instead of argument

X-SVN-Rev: 9882
This commit is contained in:
Markus Scherer 2002-09-18 01:47:01 +00:00
parent e6c9d15456
commit ef0736d5a1

View file

@ -1819,7 +1819,7 @@ charSetToUSet(uint32_t cset[8], USet* uset) {
/* build a char string with all chars that are used in character names */
length=0;
for(i=0; i<256; ++i) {
if(SET_CONTAINS(gNameSet, i)) {
if(SET_CONTAINS(cset, i)) {
cs[length++]=(char)i;
}
}