Small fix for 80 char/line limit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27655 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a682d9819f
commit
18fe1bf6fb
@ -1858,8 +1858,10 @@ BMenu::_LayoutItems(int32 index)
|
||||
BSize
|
||||
BMenu::_ValidatePreferredSize()
|
||||
{
|
||||
if (!fLayoutData->preferred.IsWidthSet() || ResizingMode() != fLayoutData->lastResizingMode)
|
||||
if (!fLayoutData->preferred.IsWidthSet() || ResizingMode()
|
||||
!= fLayoutData->lastResizingMode) {
|
||||
_ComputeLayout(0, true, false, NULL, NULL);
|
||||
}
|
||||
|
||||
return fLayoutData->preferred;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user