fixed ABW in nsTagStack and updated to string2 API

This commit is contained in:
[email protected] committed 1999-05-02 00:37:25 +00:00
1 parent 5564523f18
commit 101270bec1
6 files changed
+14 -20

No files matched your search

@@ -487,7 +487,7 @@ void nsHTMLToTXTSinkStream::UnicodeToTXTString(const nsString& aSrc)
bufferLength = mBufferSize;
mUnicodeEncoder->Reset();
result = mUnicodeEncoder->Convert(aSrc, &length, mBuffer, &bufferLength);
result = mUnicodeEncoder->Convert(aSrc.GetUnicode(), &length, mBuffer, &bufferLength);
mBuffer[bufferLength] = 0;
PRInt32 temp = bufferLength;
if (NS_SUCCEEDED(result))