From d7cef5dc9990b5f6487d3080fc66fa661d78709e Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Fri, 4 Sep 1998 16:33:40 +0000 Subject: [PATCH] Fixed bug in handling of textarea that caused them to terminate documents git-svn-id: svn://10.0.0.236/trunk@9338 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/document/src/nsHTMLContentSink.cpp | 2 +- mozilla/layout/html/document/src/nsHTMLContentSink.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/content/html/document/src/nsHTMLContentSink.cpp b/mozilla/content/html/document/src/nsHTMLContentSink.cpp index 6aa11688039..7ea4903863f 100644 --- a/mozilla/content/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/content/html/document/src/nsHTMLContentSink.cpp @@ -753,7 +753,7 @@ CreateContentObject(const nsIParserNode& aNode, case eHTMLTag_textarea: { const nsString& content = aNode.GetSkippedContent(); - nsresult rv = NS_NewHTMLTextArea(aResult, atom, aForm); + rv = NS_NewHTMLTextArea(aResult, atom, aForm); if (NS_OK == rv) { // If the text area has some content, give it to it now if (content.Length() > 0) { diff --git a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp index 6aa11688039..7ea4903863f 100644 --- a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp @@ -753,7 +753,7 @@ CreateContentObject(const nsIParserNode& aNode, case eHTMLTag_textarea: { const nsString& content = aNode.GetSkippedContent(); - nsresult rv = NS_NewHTMLTextArea(aResult, atom, aForm); + rv = NS_NewHTMLTextArea(aResult, atom, aForm); if (NS_OK == rv) { // If the text area has some content, give it to it now if (content.Length() > 0) {