From a2e15b244f9428b61588006f9e048dea845ce24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 30 Apr 2012 22:44:27 +0200 Subject: [PATCH] Changed the default background color to the system default. --- src/apps/deskcalc/CalcView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;