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:
jaggernaut%netscape.com
2001-11-14 12:35:52 +00:00
parent dbb80ab0d1
commit d22bec017c
15 changed files with 65 additions and 63 deletions

View File

@@ -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);
}