mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
update to sync with string2 API
This commit is contained in:
parent
bc9c5230bf
commit
e30d8f477a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user