From 775b9cb976e9a6a0429037491c008cc13eae9e0a Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Thu, 24 Aug 2000 19:55:11 +0000 Subject: [PATCH] Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster --- layout/generic/nsBlockBandData.cpp | 2 ++ layout/html/base/src/nsBlockBandData.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/layout/generic/nsBlockBandData.cpp b/layout/generic/nsBlockBandData.cpp index ef56e9c8666..98ebdb7aebe 100644 --- a/layout/generic/nsBlockBandData.cpp +++ b/layout/generic/nsBlockBandData.cpp @@ -145,6 +145,8 @@ nsBlockBandData::ComputeAvailSpaceRect() mAvailSpace.y = 0; mAvailSpace.width = 0; mAvailSpace.height = 0; + mLeftFloaters = 0; + mRightFloaters = 0; return; } diff --git a/layout/html/base/src/nsBlockBandData.cpp b/layout/html/base/src/nsBlockBandData.cpp index ef56e9c8666..98ebdb7aebe 100644 --- a/layout/html/base/src/nsBlockBandData.cpp +++ b/layout/html/base/src/nsBlockBandData.cpp @@ -145,6 +145,8 @@ nsBlockBandData::ComputeAvailSpaceRect() mAvailSpace.y = 0; mAvailSpace.width = 0; mAvailSpace.height = 0; + mLeftFloaters = 0; + mRightFloaters = 0; return; }