Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2009, 11:49:25 PM (15 years ago)
Author:
rgrieder
Message:

Fixed a problem in the Shell with the command history config file type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/Shell.cc

    r6364 r6374  
    6262        this->configureInputBuffer();
    6363
    64         // Get a config file for the command history
    65         this->commandHistoryConfigFileType_ = ConfigFileManager::getInstance().getNewConfigFileType();
    66         ConfigFileManager::getInstance().setFilename(this->commandHistoryConfigFileType_, "commandHistory.ini");
     64        // Specify file for the command history
     65        ConfigFileManager::getInstance().setFilename(ConfigFileType::CommandHistory, "commandHistory.ini");
    6766
    6867        // Use a stringstream object to buffer the output
     
    9897        SetConfigValue(historyOffset_, 0)
    9998            .callback(this, &Shell::commandHistoryOffsetChanged);
    100         setConfigValueGeneric(this, &commandHistory_, commandHistoryConfigFileType_, "Shell", "commandHistory_", std::vector<std::string>());
     99        setConfigValueGeneric(this, &commandHistory_, ConfigFileType::CommandHistory, "Shell", "commandHistory_", std::vector<std::string>());
    101100
    102101#ifdef ORXONOX_RELEASE
Note: See TracChangeset for help on using the changeset viewer.