diff --git a/src/apps/firstbootprompt/BootPromptWindow.cpp b/src/apps/firstbootprompt/BootPromptWindow.cpp index 4253e66c07..92f86c5e33 100644 --- a/src/apps/firstbootprompt/BootPromptWindow.cpp +++ b/src/apps/firstbootprompt/BootPromptWindow.cpp @@ -155,12 +155,12 @@ BootPromptWindow::BootPromptWindow() size_t size = 0; const uint8_t* data; - const BSize iconSize = be_control_look->ComposeIconSize(24); - BBitmap desktopIcon(BRect(BPoint(0, 0), iconSize), B_RGBA32); + const BRect iconRect = BRect(BPoint(0, 0), be_control_look->ComposeIconSize(24)); + BBitmap desktopIcon(iconRect, B_RGBA32); data = (const uint8_t*)res->LoadResource('VICN', "Desktop", &size); BIconUtils::GetVectorIcon(data, size, &desktopIcon); - BBitmap installerIcon(BRect(BPoint(0, 0), iconSize), B_RGBA32); + BBitmap installerIcon(iconRect, B_RGBA32); data = (const uint8_t*)res->LoadResource('VICN', "Installer", &size); BIconUtils::GetVectorIcon(data, size, &installerIcon);