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;