diff --git a/src/apps/deskcalc/CalcView.cpp b/src/apps/deskcalc/CalcView.cpp index 1bfd2be46d..625034e748 100644 --- a/src/apps/deskcalc/CalcView.cpp +++ b/src/apps/deskcalc/CalcView.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include @@ -834,7 +834,7 @@ CalcView::_LoadSettings(BMessage* archive) if (archive->FindData("rgbBaseColor", B_RGB_COLOR_TYPE, (const void**)&color, &size) < B_OK || size != sizeof(rgb_color)) { - fBaseColor = (rgb_color){ 128, 128, 128, 255 }; + fBaseColor = ui_color(B_PANEL_BACKGROUND_COLOR); puts("Missing rgbBaseColor from CalcView archive!\n"); } else { fBaseColor = *color;