[Orxonox-commit 736] r3266 - branches/core4/src/core
rgrieder at orxonox.net
rgrieder at orxonox.net
Wed Jul 1 13:28:52 CEST 2009
Author: rgrieder
Date: 2009-07-01 13:28:52 +0200 (Wed, 01 Jul 2009)
New Revision: 3266
Modified:
branches/core4/src/core/ConfigFileManager.cc
Log:
Forgot to save a file.
Modified: branches/core4/src/core/ConfigFileManager.cc
===================================================================
--- branches/core4/src/core/ConfigFileManager.cc 2009-07-01 11:24:30 UTC (rev 3265)
+++ branches/core4/src/core/ConfigFileManager.cc 2009-07-01 11:28:52 UTC (rev 3266)
@@ -123,9 +123,9 @@
std::string ConfigFileEntryVectorValue::getFileEntry() const
{
if (this->additionalComment_ == "" || this->additionalComment_.size() == 0)
- return (this->name_ + "[" + multi_cast<std::string>(this->index_, "0") + "]" + "=" + this->value_);
+ return (this->name_ + "[" + multi_cast<std::string>(this->index_) + "]" + "=" + this->value_);
else
- return (this->name_ + "[" + multi_cast<std::string>(this->index_, "0") + "]=" + this->value_ + " " + this->additionalComment_);
+ return (this->name_ + "[" + multi_cast<std::string>(this->index_) + "]=" + this->value_ + " " + this->additionalComment_);
}
More information about the Orxonox-commit
mailing list