From 27a53c3c9ee61c7c5938baa266074989daa9b743 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 12 Nov 2012 20:42:27 -0500 Subject: [PATCH] Fix build, forgot a { --- src/apps/deskbar/BarView.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/apps/deskbar/BarView.cpp b/src/apps/deskbar/BarView.cpp index 91d22c0115..78bb6a3918 100644 --- a/src/apps/deskbar/BarView.cpp +++ b/src/apps/deskbar/BarView.cpp @@ -363,7 +363,8 @@ TBarView::PlaceDeskbarMenu() // create the Be menu fBarMenuBar = new TBarMenuBar(this, menuFrame, "BarMenuBar"); AddChild(fBarMenuBar); - } + } else + fBarMenuBar->SmartResize(-1, -1); float width = sMinimumWindowWidth; BPoint loc(B_ORIGIN); @@ -443,7 +444,7 @@ TBarView::PlaceTray(bool vertSwap, bool leftSwap) void TBarView::PlaceApplicationBar() { - if (fInlineScrollView != NULL) + if (fInlineScrollView != NULL) { fInlineScrollView->DetachScrollers(); fInlineScrollView->RemoveSelf(); delete fInlineScrollView;