Skip to content

Commit

Permalink
Fix initializing fClockSettingFile.
Browse files Browse the repository at this point in the history
Signed-off-by: Rene Gollent <anevilyak@gmail.com>
  • Loading branch information
mt819 authored and anevilyak committed Jan 1, 2013
1 parent e71af5a commit eed38df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apps/deskbar/BarApp.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit eed38df

Please sign in to comment.