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:
parent
1d6c7b6cb6
commit
352fb78f1f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user