From ff8f17e7efe59ce3e7e3a9125d3819ec0a3c36c1 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Tue, 12 Sep 2017 18:42:17 -0700 Subject: [PATCH] Deskbar: minor style fix minor whitespace fix in ExpandoMenuBar --- src/apps/deskbar/BarApp.cpp | 4 ++-- src/apps/deskbar/ExpandoMenuBar.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/apps/deskbar/BarApp.cpp b/src/apps/deskbar/BarApp.cpp index 0034179dca..daad133d80 100644 --- a/src/apps/deskbar/BarApp.cpp +++ b/src/apps/deskbar/BarApp.cpp @@ -480,8 +480,8 @@ TBarApp::MessageReceived(BMessage* message) break; case kAutoRaise: - fSettings.autoRaise = fSettings.alwaysOnTop ? false : - !fSettings.autoRaise; + fSettings.autoRaise = fSettings.alwaysOnTop ? false + : !fSettings.autoRaise; if (fPreferencesWindow != NULL) fPreferencesWindow->PostMessage(kUpdatePreferences); diff --git a/src/apps/deskbar/ExpandoMenuBar.cpp b/src/apps/deskbar/ExpandoMenuBar.cpp index eb7f8f181d..1e2850c7e2 100644 --- a/src/apps/deskbar/ExpandoMenuBar.cpp +++ b/src/apps/deskbar/ExpandoMenuBar.cpp @@ -504,7 +504,6 @@ TExpandoMenuBar::BuildItems() if (fFirstBuild && fVertical && settings->expandNewTeams) item->ToggleExpandState(true); - } else { // existing team, update info and add it TTeamMenuItem* item = iter->second;