Permalink
Browse files

Style fixes only.

  • Loading branch information...
1 parent c491b5a commit c33a865c7c3ce73ab74354a41ac83cf4de20d726 @jscipione jscipione committed Jan 31, 2013
@@ -168,4 +168,3 @@ AlertView::InitIcon()
return icon;
}
-
@@ -51,11 +51,11 @@ ScreenApplication::MessageReceived(BMessage* message)
switch (message->what) {
case SET_CUSTOM_REFRESH_MSG:
case MAKE_INITIAL_MSG:
- fScreenWindow->PostMessage(message);
+ fScreenWindow->PostMessage(message);
break;
default:
- BApplication::MessageReceived(message);
+ BApplication::MessageReceived(message);
break;
}
}
@@ -677,4 +677,3 @@ ScreenMode::_GetDisplayMode(const screen_mode& mode, display_mode& displayMode)
return true;
}
-
@@ -713,11 +713,11 @@ ScreenWindow::_UpdateControls()
_UpdateWorkspaceButtons();
BMenuItem* item = fSwapDisplaysMenu->ItemAt((int32)fSelected.swap_displays);
- if (item && !item->IsMarked())
+ if (item != NULL && !item->IsMarked())
item->SetMarked(true);
item = fUseLaptopPanelMenu->ItemAt((int32)fSelected.use_laptop_panel);
- if (item && !item->IsMarked())
+ if (item != NULL && !item->IsMarked())
item->SetMarked(true);
for (int32 i = 0; i < fTVStandardMenu->CountItems(); i++) {
@@ -768,7 +768,7 @@ ScreenWindow::_UpdateControls()
for (int32 i = 0; i < kCombineModeCount; i++) {
if (kCombineModes[i].mode == fSelected.combine) {
item = fCombineMenu->ItemAt(i);
- if (item && !item->IsMarked())
+ if (item != NULL && !item->IsMarked())
item->SetMarked(true);
break;
}
@@ -788,7 +788,7 @@ ScreenWindow::_UpdateControls()
index++;
}
- if (item && !item->IsMarked())
+ if (item != NULL && !item->IsMarked())
item->SetMarked(true);
_UpdateColorLabel();
@@ -1320,4 +1320,3 @@ ScreenWindow::_Apply()
alert->Go();
}
}
-

0 comments on commit c33a865

Please sign in to comment.