Fix Gcc4 build error from my previous commit.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38208 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alex Wilson 2010-08-17 19:04:45 +00:00
parent 1d6c7b6cb6
commit 352fb78f1f

View File

@ -958,8 +958,8 @@ BSplitLayout::_LayoutItem(BLayoutItem* item, ItemLayoutInfo* info)
item->AlignInFrame(info->layoutFrame);
// if the item became visible, we need to update its internal layout
if (visibilityChanged && fOrientation != B_HORIZONTAL
|| !HasHeightForWidth()) {
if (visibilityChanged && (fOrientation != B_HORIZONTAL
|| !HasHeightForWidth())) {
item->Relayout(true);
}
}