hrev44084 adds 1 changeset to branch 'master' old head: 99a7ed4d4bda0f4dbd6e56dd7126fb3dab9d8f3c new head: a2e15b244f9428b61588006f9e048dea845ce24a ---------------------------------------------------------------------------- a2e15b2: Changed the default background color to the system default. [ Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev44084 Commit: a2e15b244f9428b61588006f9e048dea845ce24a URL: http://cgit.haiku-os.org/haiku/commit/?id=a2e15b2 Author: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> Date: Mon Apr 30 20:44:27 2012 UTC ---------------------------------------------------------------------------- 1 file changed, 2 insertions(+), 2 deletions(-) src/apps/deskcalc/CalcView.cpp | 4 ++-- ---------------------------------------------------------------------------- diff --git a/src/apps/deskcalc/CalcView.cpp b/src/apps/deskcalc/CalcView.cpp index 1bfd2be..625034e 100644 --- a/src/apps/deskcalc/CalcView.cpp +++ b/src/apps/deskcalc/CalcView.cpp @@ -23,7 +23,7 @@ #include <AppFileInfo.h> #include <Beep.h> #include <Bitmap.h> -#include <Catalog.h> +#include <Catalog.h> #include <ControlLook.h> #include <Clipboard.h> #include <File.h> @@ -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;