diff --git a/src/kits/interface/View.cpp b/src/kits/interface/View.cpp index a9f974d669..96b8974a75 100644 --- a/src/kits/interface/View.cpp +++ b/src/kits/interface/View.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2001-2009, Haiku. + * Copyright 2001-2010, Haiku. * Distributed under the terms of the MIT License. * * Authors: @@ -3927,8 +3927,8 @@ BView::RemoveSelf() { if (fParent && fParent->fLayoutData->fLayout) return fParent->fLayoutData->fLayout->RemoveView(this); - else - return _RemoveSelf(); + + return _RemoveSelf(); }