[Orxonox-commit 1288] r6006 - code/branches/console/src/libraries/core

scheusso at orxonox.net scheusso at orxonox.net
Fri Oct 30 14:24:53 CET 2009


Author: scheusso
Date: 2009-10-30 14:24:53 +0100 (Fri, 30 Oct 2009)
New Revision: 6006

Modified:
   code/branches/console/src/libraries/core/IOConsole.cc
Log:
that's probably more what you intended ...


Modified: code/branches/console/src/libraries/core/IOConsole.cc
===================================================================
--- code/branches/console/src/libraries/core/IOConsole.cc	2009-10-30 13:22:37 UTC (rev 6005)
+++ code/branches/console/src/libraries/core/IOConsole.cc	2009-10-30 13:24:53 UTC (rev 6006)
@@ -53,7 +53,7 @@
 
 #ifdef ORXONOX_PLATFORM_UNIX
 
-    termios* IOConsole::originalTerminalSettings_ = new termios();
+    termios* IOConsole::originalTerminalSettings_;
 
     namespace EscapeMode
     {
@@ -70,6 +70,7 @@
         , buffer_(shell_->getInputBuffer())
         , bStatusPrinted_(false)
     {
+        this->originalTerminalSettings_ = new termios();
         this->setTerminalMode();
         this->shell_->registerListener(this);
 




More information about the Orxonox-commit mailing list