From a36940e1dcde2d428aef9d675aab3effbf5d4a46 Mon Sep 17 00:00:00 2001 From: "sdagley%netscape.com" Date: Tue, 10 Dec 2002 20:24:49 +0000 Subject: [PATCH] Backing out jfrancis - back to v1.67 git-svn-id: svn://10.0.0.236/trunk@135064 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp index d9eabe31566..72a965593a8 100644 --- a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp @@ -883,7 +883,7 @@ nsHTMLEditor::ParseCFHTML(nsCString & aCfhtml, PRUnichar **aStuffToPaste, PRUnic // translate platform linebreaks for context newStr = 0; - oldLengthInChars = cntxtUcs2Str.Length() + 1; // +1 to include null terminator + oldLengthInChars = cntxtUcs2Str.Length(); // +1 to include null terminator newLengthInChars = 0; *aCfcontext = nsLinebreakConverter::ConvertUnicharLineBreaks(cntxtUcs2Str.get(), nsLinebreakConverter::eLinebreakAny,