Fix some style violations and silliness (returning something in a void method.)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40181 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ryan Leavengood 2011-01-09 17:49:05 +00:00
parent 7d9b44517b
commit 6c314bd590

View File

@ -377,9 +377,8 @@ bool
AutoAdjustingNavigator::FindNextImage(const entry_ref& currentRef, entry_ref& nextRef,
bool next, bool rewind)
{
if (_CheckForTracker(currentRef)) {
if (_CheckForTracker(currentRef))
return fTrackerNavigator->FindNextImage(currentRef, nextRef, next, rewind);
}
if (fFolderNavigator != NULL)
return fFolderNavigator->FindNextImage(currentRef, nextRef, next, rewind);
@ -392,11 +391,12 @@ void
AutoAdjustingNavigator::UpdateSelection(const entry_ref& ref)
{
if (_CheckForTracker(ref)) {
return fTrackerNavigator->UpdateSelection(ref);
fTrackerNavigator->UpdateSelection(ref);
return;
}
if (fFolderNavigator != NULL)
return fFolderNavigator->UpdateSelection(ref);
fFolderNavigator->UpdateSelection(ref);
}