Skip to content

Commit

Permalink
Style fixes, no functional change indented
Browse files Browse the repository at this point in the history
  • Loading branch information
jscipione committed Dec 21, 2012
1 parent defcf2e commit 0eacc85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/apps/deskbar/PreferencesWindow.cpp
Expand Up @@ -392,7 +392,7 @@ PreferencesWindow::_HandleChangedSettingsView()

BView* oldView = fSettingsContainerBox->ChildAt(0);

if (oldView)
if (oldView != NULL)
oldView->RemoveSelf();

SettingsItem* selectedItem =
Expand Down
4 changes: 2 additions & 2 deletions src/kits/tracker/TrackerSettingsWindow.cpp
Expand Up @@ -279,14 +279,14 @@ TrackerSettingsWindow::_HandleChangedSettingsView()

BView* oldView = fSettingsContainerBox->ChildAt(0);

if (oldView)
if (oldView != NULL)
oldView->RemoveSelf();

SettingsItem* selectedItem =
dynamic_cast<SettingsItem*>
(fSettingsTypeListView->ItemAt(currentSelection));

if (selectedItem) {
if (selectedItem != NULL) {
fSettingsContainerBox->SetLabel(selectedItem->Text());

BView* view = selectedItem->View();
Expand Down

0 comments on commit 0eacc85

Please sign in to comment.