Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -532,8 +532,8 @@ nsCaseInsensitiveCStringComparator::operator()( char lhs, char rhs ) const
|
||||
{
|
||||
if (lhs == rhs) return 0;
|
||||
|
||||
lhs = nsCRT::ToLower(lhs);
|
||||
rhs = nsCRT::ToLower(rhs);
|
||||
lhs = tolower(lhs);
|
||||
rhs = tolower(rhs);
|
||||
|
||||
return lhs - rhs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user