diff --git a/src/apps/showimage/ShowImageView.cpp b/src/apps/showimage/ShowImageView.cpp index 75f32a57f0..25dd45315d 100644 --- a/src/apps/showimage/ShowImageView.cpp +++ b/src/apps/showimage/ShowImageView.cpp @@ -1814,7 +1814,7 @@ ShowImageView::FindNextImage(entry_ref *in_current, entry_ref *out_image, bool n int32 cur; if (curImage.GetParent(&parent) != B_OK) - return -1; + return false; while (parent.GetNextRef(&entry) == B_OK) { if (entry != *in_current) {