Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5015 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
Aug 14, 2005, 5:25:53 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: robust IniParser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r5014 r5015  
    124124const char* Orxonox::getConfigFile ()
    125125{
    126   this->configFileName = new char[strlen(DEFAULT_CONFIG_FILE)];
    127   strcpy (this->configFileName, DEFAULT_CONFIG_FILE);
     126  this->configFileName = ResourceManager::homeDirCheck(DEFAULT_CONFIG_FILE);
    128127  this->iniParser = new IniParser(this->configFileName);
    129128}
Note: See TracChangeset for help on using the changeset viewer.