summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-23 16:24:39 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-23 16:24:39 +0000
commit4e7be9f904f70e4a2e3d598602d03cddeaef8a74 (patch)
tree07d89ce6694ddff306093d9e2291c46dadbdb1ca /src/gui/gui.cpp
parente0a956b4045ca09631d9a9a616ca675f2c1f4a78 (diff)
downloadmana-client-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.gz
mana-client-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.bz2
mana-client-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.xz
mana-client-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.zip
Uninitialized variable and free/delete/delete[] mismatch fixes.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index c9742b05..4b084da9 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -31,7 +31,8 @@ Graphics *guiGraphics; // Graphics driver
gcn::SDLInput *guiInput; // GUI input
WindowContainer *guiTop; // The top container
-Gui::Gui(Graphics *graphics)
+Gui::Gui(Graphics *graphics):
+ topHasMouse(false)
{
// Set graphics
guiGraphics = graphics;