summaryrefslogtreecommitdiff
path: root/src/guichan/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/gui.cpp')
-rw-r--r--src/guichan/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/gui.cpp b/src/guichan/gui.cpp
index 9e0229f05..0a24d8b17 100644
--- a/src/guichan/gui.cpp
+++ b/src/guichan/gui.cpp
@@ -67,6 +67,7 @@ namespace gcn
mTop(nullptr),
mGraphics(nullptr),
mInput(nullptr),
+ mFocusHandler(new FocusHandler()),
mTabbing(true),
mShiftPressed(false),
mMetaPressed(false),
@@ -79,7 +80,6 @@ namespace gcn
mClickCount(1),
mLastMouseDragButton(0)
{
- mFocusHandler = new FocusHandler();
}
Gui::~Gui()