Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108048 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -182,7 +182,7 @@ nsHTMLEntities::EntityToUnicode(const nsCString& aEntity)
|
||||
|
||||
if(';'==aEntity.Last()) {
|
||||
nsCAutoString temp(aEntity);
|
||||
temp.Truncate(aEntity.mLength-1);
|
||||
temp.Truncate(aEntity.Length()-1);
|
||||
return EntityToUnicode(temp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user