From 310643cf8d67c79ef6c8372387c1c5dc3bc66554 Mon Sep 17 00:00:00 2001 From: "pkw%us.ibm.com" Date: Wed, 3 Nov 2004 23:31:17 +0000 Subject: [PATCH] Bug 267498 - Dialogs cutting off content Patch contributed by Stephen Walker r/sr=roc@ocallahan.org --- layout/xul/base/src/nsSprocketLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/xul/base/src/nsSprocketLayout.cpp b/layout/xul/base/src/nsSprocketLayout.cpp index 116d3574310..62d1cb351d5 100644 --- a/layout/xul/base/src/nsSprocketLayout.cpp +++ b/layout/xul/base/src/nsSprocketLayout.cpp @@ -1041,7 +1041,7 @@ nsSprocketLayout::ChildResized(nsIBox* aBox, nsSize max(0,0); nsSize min(0,0); aChild->GetMaxSize(aState, max); - aChild->GetMinSize(aState, max); + aChild->GetMinSize(aState, min); nsBox::BoundsCheckMinMax(min, max); AddMargin(aChild, max);