Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o

build. r=dbaron/sr=blake. bug#116240


git-svn-id: svn://10.0.0.236/trunk@110904 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com
2001-12-20 18:02:43 +00:00
parent 12a2794738
commit a6c41bf09f
2 changed files with 2 additions and 2 deletions

View File

@@ -1799,7 +1799,7 @@ void nsCSSRendering::DrawCompositeSide(nsIRenderingContext& aRenderingContext,
endRadius = aBorderRadii[3];
}
while (shrinkage) {
while (shrinkage > 0) {
nscoord xshrink = 0;
nscoord yshrink = 0;
nscoord widthshrink = 0;

View File

@@ -1799,7 +1799,7 @@ void nsCSSRendering::DrawCompositeSide(nsIRenderingContext& aRenderingContext,
endRadius = aBorderRadii[3];
}
while (shrinkage) {
while (shrinkage > 0) {
nscoord xshrink = 0;
nscoord yshrink = 0;
nscoord widthshrink = 0;