From 250cc422bee31bb100fde1b26cfd9caf042a91bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 3 Nov 2006 19:16:37 +0000 Subject: [PATCH] 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 --- src/apps/diskprobe/ProbeView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/diskprobe/ProbeView.cpp b/src/apps/diskprobe/ProbeView.cpp index b1f381c56d..fb6c99cc09 100644 --- a/src/apps/diskprobe/ProbeView.cpp +++ b/src/apps/diskprobe/ProbeView.cpp @@ -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;