From 234f6d7cfceaf18fe3882f8923fe9f8917a3da4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 19 Aug 2005 19:33:49 +0000 Subject: [PATCH] replaced with DEBUG macro git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13994 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/screensaver/ScreenSaverPrefs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kits/screensaver/ScreenSaverPrefs.cpp b/src/kits/screensaver/ScreenSaverPrefs.cpp index 17b3afee01..db82baaeb3 100644 --- a/src/kits/screensaver/ScreenSaverPrefs.cpp +++ b/src/kits/screensaver/ScreenSaverPrefs.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include "ScreenSaverPrefs.h" @@ -156,7 +155,7 @@ void ScreenSaverPrefs::SaveSettings() { BMessage &settings = GetSettings(); - settings.PrintToStream(); + PRINT_OBJECT(settings); BFile file(fSSPath.Path(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); if ((file.InitCheck()!=B_OK) || (settings.Flatten(&file)!=B_OK)) fprintf(stderr, "Problem while saving screensaver preferences file!\n");