fixed a typo

This commit is contained in:
suter_a 2017-02-21 14:55:04 +01:00
parent 07aa67a1a2
commit 261691c040
2 changed files with 4 additions and 4 deletions

View File

@ -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];

View File

@ -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)
}; };