From eed38dfa96a8fcfdd4d01c15ff6840272f924f73 Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Mon, 31 Dec 2012 20:41:09 +0900 Subject: [PATCH] Fix initializing fClockSettingFile. Signed-off-by: Rene Gollent --- src/apps/deskbar/BarApp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/deskbar/BarApp.cpp b/src/apps/deskbar/BarApp.cpp index af7372d696..9c12a2798a 100644 --- a/src/apps/deskbar/BarApp.cpp +++ b/src/apps/deskbar/BarApp.cpp @@ -302,6 +302,8 @@ TBarApp::InitSettings() theDir.CreateFile(settingsFileName, fSettingsFile); } + filePath = dirPath; + filePath.Append(clockSettingsFileName); fClockSettingsFile = new BFile(filePath.Path(), O_RDWR); if (fClockSettingsFile->InitCheck() != B_OK) { BDirectory theDir(dirPath.Path());