summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/menuwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp
index cf917116..ed32f61d 100644
--- a/src/gui/menuwindow.cpp
+++ b/src/gui/menuwindow.cpp
@@ -100,7 +100,7 @@ void MenuWindow::draw(gcn::Graphics *g)
void MenuWindowListener::action(const std::string& eventId)
{
- Window *window;
+ Window *window = NULL;
if (eventId == "Status")
{
window = statusWindow;