Fixed dump-tree problem

git-svn-id: svn://10.0.0.236/trunk@10603 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com 1998-09-21 19:33:21 +00:00
parent 3a4a8e7217
commit 225e1b2cb4

View File

@ -893,7 +893,7 @@ NS_METHOD nsContainerFrame::List(FILE* out, PRInt32 aIndent, nsIListFilter *aFil
}
// Output the children
if (mChildCount > 0) {
if (nsnull != mFirstChild) {
if (PR_TRUE==outputMe)
{
if (0 != mState) {
@ -1199,7 +1199,7 @@ void nsContainerFrame::PostReflowCheck(nsReflowStatus aStatus)
*/
PRBool nsContainerFrame::IsEmpty()
{
if (0 == mChildCount) {
if (nsnull == mFirstChild) {
return PR_TRUE;
}
if (mChildCount > 1) {