mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 18:01:44 -10:00
fixed ABW in nsTagStack and updated to string2 API
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user