diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-04 00:47:20 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-04 00:47:20 +0100 |
commit | 36ae10688b870c4d6029e20ef9a063a2db120e6a (patch) | |
tree | 4998494c14dec016cc352e09a926037a4cac0821 /src | |
parent | a4e1725ff13dfe72dc83611e014cc5bf2f213fa8 (diff) | |
download | mana-36ae10688b870c4d6029e20ef9a063a2db120e6a.tar.gz mana-36ae10688b870c4d6029e20ef9a063a2db120e6a.tar.bz2 mana-36ae10688b870c4d6029e20ef9a063a2db120e6a.tar.xz mana-36ae10688b870c4d6029e20ef9a063a2db120e6a.zip |
Don't reuse the setupWindow variable from the game
Fixes crash on exit caused by double deletion.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8371c941..e246b6a9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -88,6 +88,8 @@ #endif namespace { + Window *setupWindow = 0; + struct SetupListener : public gcn::ActionListener { /** @@ -122,8 +124,6 @@ LoginData loginData; LockedArray<LocalPlayer*> charInfo(MAX_SLOT + 1); -extern Window *setupWindow; - // This anonymous namespace hides whatever is inside from other modules. namespace { |