From ab37997c98996620ae166cb9a9c48d26ec7cb0f3 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Wed, 17 Apr 2013 15:58:42 -0400 Subject: [PATCH] Style fix and comment update --- src/apps/deskbar/BarApp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/deskbar/BarApp.cpp b/src/apps/deskbar/BarApp.cpp index 971d00c3fc..fc060c2b05 100644 --- a/src/apps/deskbar/BarApp.cpp +++ b/src/apps/deskbar/BarApp.cpp @@ -470,8 +470,8 @@ TBarApp::MessageReceived(BMessage* message) if (fPreferencesWindow != NULL) fPreferencesWindow->PostMessage(kUpdatePreferences); - fBarWindow->SetFeel(fSettings.alwaysOnTop ? - B_FLOATING_ALL_WINDOW_FEEL : B_NORMAL_WINDOW_FEEL); + fBarWindow->SetFeel(fSettings.alwaysOnTop ? B_FLOATING_ALL_WINDOW_FEEL + : B_NORMAL_WINDOW_FEEL); break; case kAutoRaise: @@ -753,7 +753,7 @@ TBarApp::AddTeam(team_id team, uint32 flags, const char* sig, entry_ref* ref) { if ((flags & B_BACKGROUND_APP) != 0 || strcasecmp(sig, kDeskbarSignature) == 0) { - // it's a background app or Deskbar itself, don't add it + // don't add if a background app or Deskbar itself return; }