Obviously, the R5 icon code has problems when converting to 32 bit (crashes here) :-/

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19195 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-11-03 19:16:37 +00:00
parent bca3f1efbf
commit 250cc422be
1 changed files with 4 additions and 0 deletions

View File

@ -246,7 +246,11 @@ void
IconView::UpdateIcon()
{
if (fBitmap == NULL)
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
fBitmap = new BBitmap(BRect(0, 0, 31, 31), B_RGB32);
#else
fBitmap = new BBitmap(BRect(0, 0, 31, 31), B_CMAP8);
#endif
if (fBitmap != NULL) {
status_t status = B_ERROR;