Style fixes, no functional change indented

This commit is contained in:
John Scipione 2012-12-20 19:43:22 -05:00
parent defcf2ebc4
commit 0eacc85bc2
2 changed files with 3 additions and 3 deletions

View File

@ -392,7 +392,7 @@ PreferencesWindow::_HandleChangedSettingsView()
BView* oldView = fSettingsContainerBox->ChildAt(0);
if (oldView)
if (oldView != NULL)
oldView->RemoveSelf();
SettingsItem* selectedItem =

View File

@ -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();