diff --git a/src/apps/haiku-depot/PackageInfo.cpp b/src/apps/haiku-depot/PackageInfo.cpp index 5e249b1404..12bfa5a8d1 100644 --- a/src/apps/haiku-depot/PackageInfo.cpp +++ b/src/apps/haiku-depot/PackageInfo.cpp @@ -41,6 +41,9 @@ SharedBitmap::SharedBitmap(int32 resourceID) const BBitmap* SharedBitmap::Bitmap(Size which) { + if (fResourceID == -1) + return fBitmap[0]; + int32 index = 0; int32 size = 16;