Fix nsCString::AppendWithConversion() to work.

git-svn-id: svn://10.0.0.236/trunk@76760 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
2000-08-20 20:41:31 +00:00
parent 637119d14b
commit 0422415aad
3 changed files with 12 additions and 3 deletions

View File

@@ -1082,7 +1082,10 @@ void nsCString::AppendWithConversion( const PRUnichar* aBuffer, PRInt32 aLength
aLength = nsCharTraits<PRUnichar>::length(aBuffer);
if ( aLength > 0 )
StrAppend(*this, temp, 0, aLength);
{
temp.mLength = aLength;
StrAppend(*this, temp, 0, aLength);
}
}
/**