diff --git a/src/apps/haikudepot/ui_generic/SharedBitmap.cpp b/src/apps/haikudepot/ui_generic/SharedBitmap.cpp index 70374ff226..9382c1e8a8 100644 --- a/src/apps/haikudepot/ui_generic/SharedBitmap.cpp +++ b/src/apps/haikudepot/ui_generic/SharedBitmap.cpp @@ -71,7 +71,7 @@ SharedBitmap::SharedBitmap(BPositionIO& data) fMimeType() { status_t status = data.GetSize(&fSize); - const off_t kMaxSize = 128 * 1024; + const off_t kMaxSize = 1024 * 1024; if (status == B_OK && fSize > 0 && fSize <= kMaxSize) { fBuffer = new(std::nothrow) uint8[fSize]; if (fBuffer != NULL) {