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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user