replaced with DEBUG macro
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13994 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
#include <Path.h>
|
#include <Path.h>
|
||||||
#include <StorageDefs.h>
|
#include <StorageDefs.h>
|
||||||
#include <String.h>
|
#include <String.h>
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "ScreenSaverPrefs.h"
|
#include "ScreenSaverPrefs.h"
|
||||||
@@ -156,7 +155,7 @@ void
|
|||||||
ScreenSaverPrefs::SaveSettings()
|
ScreenSaverPrefs::SaveSettings()
|
||||||
{
|
{
|
||||||
BMessage &settings = GetSettings();
|
BMessage &settings = GetSettings();
|
||||||
settings.PrintToStream();
|
PRINT_OBJECT(settings);
|
||||||
BFile file(fSSPath.Path(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
|
BFile file(fSSPath.Path(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
|
||||||
if ((file.InitCheck()!=B_OK) || (settings.Flatten(&file)!=B_OK))
|
if ((file.InitCheck()!=B_OK) || (settings.Flatten(&file)!=B_OK))
|
||||||
fprintf(stderr, "Problem while saving screensaver preferences file!\n");
|
fprintf(stderr, "Problem while saving screensaver preferences file!\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user