Style fix and comment update

This commit is contained in:
John Scipione
2013-04-17 15:58:42 -04:00
parent 46575667eb
commit ab37997c98
+3 -3
View File
@@ -470,8 +470,8 @@ TBarApp::MessageReceived(BMessage* message)
if (fPreferencesWindow != NULL) if (fPreferencesWindow != NULL)
fPreferencesWindow->PostMessage(kUpdatePreferences); fPreferencesWindow->PostMessage(kUpdatePreferences);
fBarWindow->SetFeel(fSettings.alwaysOnTop ? fBarWindow->SetFeel(fSettings.alwaysOnTop ? B_FLOATING_ALL_WINDOW_FEEL
B_FLOATING_ALL_WINDOW_FEEL : B_NORMAL_WINDOW_FEEL); : B_NORMAL_WINDOW_FEEL);
break; break;
case kAutoRaise: 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 if ((flags & B_BACKGROUND_APP) != 0
|| strcasecmp(sig, kDeskbarSignature) == 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; return;
} }