Fix for the bustage.

r=pollmann
This commit is contained in:
harishd%netscape.com 1999-10-20 23:14:50 +00:00
parent 886045c92a
commit fd9d596cc7
2 changed files with 2 additions and 2 deletions

View File

@ -469,7 +469,7 @@ void nsHTMLContentSinkStream::Write(const nsString& aString)
if (mUnicodeEncoder)
{
EncodeToBuffer(aString);
out.write(mBuffer, mBuffer.Length());
out.write(&mBuffer, mBuffer.Length());
}
// else just write the unicode
else

View File

@ -469,7 +469,7 @@ void nsHTMLContentSinkStream::Write(const nsString& aString)
if (mUnicodeEncoder)
{
EncodeToBuffer(aString);
out.write(mBuffer, mBuffer.Length());
out.write(&mBuffer, mBuffer.Length());
}
// else just write the unicode
else