fixed a typo
This commit is contained in:
parent
07aa67a1a2
commit
261691c040
@ -147,7 +147,7 @@ PStartupHandler::PStartupHandler()
|
|||||||
// if musrfit_startup.xml is still not found, will create a default one
|
// if musrfit_startup.xml is still not found, will create a default one
|
||||||
if (!fStartupFileFound) {
|
if (!fStartupFileFound) {
|
||||||
cout << endl << "**INFO** no musrfit_startup.xml file found, will write a default one." << endl;
|
cout << endl << "**INFO** no musrfit_startup.xml file found, will write a default one." << endl;
|
||||||
if (!WriteDefaulStartupFile()) {
|
if (!WriteDefaultStartupFile()) {
|
||||||
cerr << endl << "**ERROR** couldn't write default musrfit_startup.xml." << endl;
|
cerr << endl << "**ERROR** couldn't write default musrfit_startup.xml." << endl;
|
||||||
} else {
|
} else {
|
||||||
home = getenv("HOME");
|
home = getenv("HOME");
|
||||||
@ -587,9 +587,9 @@ Bool_t PStartupHandler::StartupFileExists(Char_t *fln)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
// WriteDefaulStartupFile
|
// WriteDefaultStartupFile
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
Bool_t PStartupHandler::WriteDefaulStartupFile()
|
Bool_t PStartupHandler::WriteDefaultStartupFile()
|
||||||
{
|
{
|
||||||
// get home
|
// get home
|
||||||
Char_t startup_path_name[256];
|
Char_t startup_path_name[256];
|
||||||
|
@ -94,7 +94,7 @@ class PStartupHandler : public TObject, public TQObject
|
|||||||
PIntVector fColorList; ///< color list
|
PIntVector fColorList; ///< color list
|
||||||
|
|
||||||
Bool_t StartupFileExists(Char_t *fln);
|
Bool_t StartupFileExists(Char_t *fln);
|
||||||
Bool_t WriteDefaulStartupFile();
|
Bool_t WriteDefaultStartupFile();
|
||||||
|
|
||||||
ClassDef(PStartupHandler, 1)
|
ClassDef(PStartupHandler, 1)
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user