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
This commit is contained in:
kipp%netscape.com
1998-09-04 16:33:40 +00:00
parent 47fb9492d2
commit d7cef5dc99
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {