Fix initializing fClockSettingFile.
Signed-off-by: Rene Gollent <[email protected]>
This commit is contained in:
committed by
Rene Gollent
parent
e71af5ae6c
commit
eed38dfa96
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user