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:
parent
bca3f1efbf
commit
250cc422be
|
@ -246,7 +246,11 @@ void
|
||||||
IconView::UpdateIcon()
|
IconView::UpdateIcon()
|
||||||
{
|
{
|
||||||
if (fBitmap == NULL)
|
if (fBitmap == NULL)
|
||||||
|
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
||||||
fBitmap = new BBitmap(BRect(0, 0, 31, 31), B_RGB32);
|
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) {
|
if (fBitmap != NULL) {
|
||||||
status_t status = B_ERROR;
|
status_t status = B_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue