From 9bba3b01b7ab37221da62a1f09ce5fe72a0a98ac Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Mon, 31 Dec 2012 20:41:09 +0900
Subject: [PATCH] Fix initializing fClockSettingFile.
---
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 af7372d..9c12a27 100644
a
|
b
|
TBarApp::InitSettings()
|
302 | 302 | theDir.CreateFile(settingsFileName, fSettingsFile); |
303 | 303 | } |
304 | 304 | |
| 305 | filePath = dirPath; |
| 306 | filePath.Append(clockSettingsFileName); |
305 | 307 | fClockSettingsFile = new BFile(filePath.Path(), O_RDWR); |
306 | 308 | if (fClockSettingsFile->InitCheck() != B_OK) { |
307 | 309 | BDirectory theDir(dirPath.Path()); |