Fix style violations I've commited in r38207 and r38251, the first pointed out by Ingo <- thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38252 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a881dd4a37
commit
1eeda2bd42
@ -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