Fix build, forgot a {

This commit is contained in:
John Scipione
2012-11-12 22:03:25 -05:00
parent b4c922197c
commit 27a53c3c9e
+3 -2
View File
@@ -363,7 +363,8 @@ TBarView::PlaceDeskbarMenu()
// create the Be menu // create the Be menu
fBarMenuBar = new TBarMenuBar(this, menuFrame, "BarMenuBar"); fBarMenuBar = new TBarMenuBar(this, menuFrame, "BarMenuBar");
AddChild(fBarMenuBar); AddChild(fBarMenuBar);
} } else
fBarMenuBar->SmartResize(-1, -1);
float width = sMinimumWindowWidth; float width = sMinimumWindowWidth;
BPoint loc(B_ORIGIN); BPoint loc(B_ORIGIN);
@@ -443,7 +444,7 @@ TBarView::PlaceTray(bool vertSwap, bool leftSwap)
void void
TBarView::PlaceApplicationBar() TBarView::PlaceApplicationBar()
{ {
if (fInlineScrollView != NULL) if (fInlineScrollView != NULL) {
fInlineScrollView->DetachScrollers(); fInlineScrollView->DetachScrollers();
fInlineScrollView->RemoveSelf(); fInlineScrollView->RemoveSelf();
delete fInlineScrollView; delete fInlineScrollView;