mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Code cleanup. Bug 169536, r=jshin, sr=Neil
This commit is contained in:
parent
a57b7d6d3a
commit
1f4f1ce3ce
@ -140,8 +140,7 @@ nsresult nsCharsetConverterManager::GetBundleValue(nsIStringBundle * aBundle,
|
||||
|
||||
key.AssignWithConversion(aName);
|
||||
ToLowerCase(key); // we lowercase the main comparison key
|
||||
if (!aProp.IsEmpty()) // yes, this param may be NULL
|
||||
key.Append(aProp);
|
||||
key.Append(aProp);
|
||||
|
||||
return aBundle->GetStringFromName(key.get(), aResult);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user