From 0cf8c36abb3056b9880df9c340f06d55d78c47ae Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 5 Jul 2010 09:47:48 +0000 Subject: [PATCH] Patch by Alex Wilson, part of GSoC 2010 : fix a "typo" in AbstractLayoutItem. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37399 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/AbstractLayoutItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/AbstractLayoutItem.cpp b/src/kits/interface/AbstractLayoutItem.cpp index 9801d6aca1..e07b852f53 100644 --- a/src/kits/interface/AbstractLayoutItem.cpp +++ b/src/kits/interface/AbstractLayoutItem.cpp @@ -40,7 +40,7 @@ BAbstractLayoutItem::MaxSize() BSize BAbstractLayoutItem::PreferredSize() { - return BLayoutUtils::ComposeSize(fMaxSize, BaseMaxSize()); + return BLayoutUtils::ComposeSize(fMaxSize, BasePreferredSize()); } // Alignment