[Orxonox-commit 1293] r6011 - code/branches/console/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Sat Oct 31 23:28:16 CET 2009


Author: rgrieder
Date: 2009-10-31 23:28:16 +0100 (Sat, 31 Oct 2009)
New Revision: 6011

Modified:
   code/branches/console/src/libraries/core/ConfigValueIncludes.h
   code/branches/console/src/libraries/core/ConsoleCommandCompilation.cc
Log:
Fixed funny looking ini-files and an annoying cout.

Modified: code/branches/console/src/libraries/core/ConfigValueIncludes.h
===================================================================
--- code/branches/console/src/libraries/core/ConfigValueIncludes.h	2009-10-31 22:13:52 UTC (rev 6010)
+++ code/branches/console/src/libraries/core/ConfigValueIncludes.h	2009-10-31 22:28:16 UTC (rev 6011)
@@ -56,7 +56,7 @@
     } \
     container##varname->getValue(&varname, this)
 
-#define SetConfigValue(varname, defvalue) SetConfigValueGeneric(ConfigFileType::Settings, varname, identifier##varname->getName(), #varname, defvalue)
+#define SetConfigValue(varname, defvalue) SetConfigValueGeneric(ConfigFileType::Settings, varname, #varname, identifier##varname->getName(), defvalue)
 
 
 /**

Modified: code/branches/console/src/libraries/core/ConsoleCommandCompilation.cc
===================================================================
--- code/branches/console/src/libraries/core/ConsoleCommandCompilation.cc	2009-10-31 22:13:52 UTC (rev 6010)
+++ code/branches/console/src/libraries/core/ConsoleCommandCompilation.cc	2009-10-31 22:28:16 UTC (rev 6011)
@@ -85,7 +85,6 @@
 
     std::string echo(const std::string& text)
     {
-        std::cout << text << std::endl;
         return text;
     }
 




More information about the Orxonox-commit mailing list