update to sync with string2 API

This commit is contained in:
rickg%netscape.com 1999-04-20 04:46:55 +00:00
parent bc9c5230bf
commit e30d8f477a

View File

@ -104,7 +104,7 @@ nsLocale::Hash_HashFunction(const void* key)
length = stringKey->Length();
for(length-=1;length>=0;length--)
hash += (PLHashNumber)((*stringKey)[length]);
hash += (PLHashNumber)stringKey->CharAt(length);
return hash;
}