Author: pulkomandy Date: 2010-07-05 11:47:48 +0200 (Mon, 05 Jul 2010) New Revision: 37399 Changeset: http://dev.haiku-os.org/changeset/37399/haiku Modified: haiku/trunk/src/kits/interface/AbstractLayoutItem.cpp Log: Patch by Alex Wilson, part of GSoC 2010 : fix a "typo" in AbstractLayoutItem. Modified: haiku/trunk/src/kits/interface/AbstractLayoutItem.cpp =================================================================== --- haiku/trunk/src/kits/interface/AbstractLayoutItem.cpp 2010-07-05 07:47:08 UTC (rev 37398) +++ haiku/trunk/src/kits/interface/AbstractLayoutItem.cpp 2010-07-05 09:47:48 UTC (rev 37399) @@ -40,7 +40,7 @@ BSize BAbstractLayoutItem::PreferredSize() { - return BLayoutUtils::ComposeSize(fMaxSize, BaseMaxSize()); + return BLayoutUtils::ComposeSize(fMaxSize, BasePreferredSize()); } // Alignment