diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-16 16:58:44 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-16 16:58:44 +0000 |
commit | b87433d87147f88868bf848daf7eabc2d459e8c0 (patch) | |
tree | 48e1bc52dbbf20148ab12fcfbc95ad9f04da4f79 /src/client | |
parent | 9ce36cfd343755fad90f87d458a86ce3dbcacd7e (diff) |
fixes win32 segfault
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/console.cc | 12 | ||||
-rw-r--r-- | src/client/console.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/client/console.cc b/src/client/console.cc index 80b6224..3b94b4d 100644 --- a/src/client/console.cc +++ b/src/client/console.cc @@ -24,21 +24,21 @@ namespace client { const float DEFAULT_CONSOLE_HEIGHT = 0.7f; const size_t DEFAULT_MAX_HISTO_LINES = 512; +// the global console buffer object +ConsoleBuffer Console::con_buffer; + /* -- ConsoleBuffer ------------------------------------------------ */ -ConsoleBuffer::ConsoleBuffer() +ConsoleBuffer::ConsoleBuffer() : sys::ConsoleInterface() { - con_print << "^BInitializing console..." << std::endl; + //con_print << "^BInitializing console..." << std::endl; } ConsoleBuffer::~ConsoleBuffer() { - con_print << "^BShutting down console..." << std::endl; + //con_print << "^BShutting down console..." << std::endl; } -// the global console buffer object -ConsoleBuffer Console::con_buffer; - //--- Console ----------------------------------------------------- Console::Console(ui::Widget *parent) : ui::Window(parent) diff --git a/src/client/console.h b/src/client/console.h index 7400c32..c567d70 100644 --- a/src/client/console.h +++ b/src/client/console.h @@ -21,7 +21,7 @@ namespace client { class ConsoleBuffer : public sys::ConsoleInterface { public: ConsoleBuffer(); - ~ConsoleBuffer(); + virtual ~ConsoleBuffer(); }; /* -- class Console ------------------------------------------------ */ |