diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 16:36:34 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 16:36:34 -0600 |
commit | 7af746a8ce0c64932923419c5a35a25a5b8c4005 (patch) | |
tree | c26b37811a9347efecc948fe4f048b51ded50415 /src/gui/setup.cpp | |
parent | e2e30710a646965a506444cc0dc8a91e1a718002 (diff) | |
download | mana-client-7af746a8ce0c64932923419c5a35a25a5b8c4005.tar.gz mana-client-7af746a8ce0c64932923419c5a35a25a5b8c4005.tar.bz2 mana-client-7af746a8ce0c64932923419c5a35a25a5b8c4005.tar.xz mana-client-7af746a8ce0c64932923419c5a35a25a5b8c4005.zip |
Delete local player earlier and fix a rare crash
Rare crash is in KeyboardConfig, where the active keys array is accessed
before it's initialized. Also remove some debug prints that made it into
a previous commit.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 8062ac06..68bc3a4b 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -67,12 +67,9 @@ Setup::Setup(): // Store this button, as it needs to be enabled/disabled if (!strcmp(*curBtn, "Reset Windows")) { mResetWindows = btn; - printf("!\n"); } } - if (mResetWindows) printf("!\n"); - TabbedArea *panel = new TabbedArea; panel->setDimension(gcn::Rectangle(5, 5, width - 10, height - 40)); |