From 1e6411e7a9798d043f2c8f7bb7582ece5d5f1e9a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 22 Feb 2015 15:18:42 +0000 Subject: Fixed valgrind warnings. --- src/ui/console.cc | 1 - src/ui/ui.cc | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') diff --git a/src/ui/console.cc b/src/ui/console.cc index b683778..176b3f8 100644 --- a/src/ui/console.cc +++ b/src/ui/console.cc @@ -47,7 +47,6 @@ ConsoleBuffer::~ConsoleBuffer() Console::Console(ui::Widget *parent) : ui::Window(parent) { - set_visible(false); set_border(false); set_background(true); set_label("console"); diff --git a/src/ui/ui.cc b/src/ui/ui.cc index e3aeb31..97b633b 100644 --- a/src/ui/ui.cc +++ b/src/ui/ui.cc @@ -70,6 +70,7 @@ UI::UI() : Window(0) // intialize console ui_console = new Console(this); + ui_console->hide(); // default palette ui_palette = new Palette(); -- cgit v1.2.3