fixed bug in form -- form flag was never being set to true

git-svn-id: svn://10.0.0.236/trunk@2204 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg
1998-05-22 19:31:38 +00:00
parent b41a29c6af
commit 8da56df062
2 changed files with 4 additions and 0 deletions

View File

@@ -1219,6 +1219,8 @@ PRInt32 nsHTMLParser::OpenForm(const nsIParserNode& aNode){
if(mHasOpenForm)
CloseForm(aNode);
PRInt32 result=mSink->OpenForm(aNode);
if(kNoError==result)
mHasOpenForm=PR_TRUE;
return result;
}