update to sync with string2 API
git-svn-id: svn://10.0.0.236/trunk@28227 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user