summaryrefslogtreecommitdiff
path: root/src/keyinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyinput.cpp')
-rw-r--r--src/keyinput.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyinput.cpp b/src/keyinput.cpp
index 3a40eac7e..bbc53bff2 100644
--- a/src/keyinput.cpp
+++ b/src/keyinput.cpp
@@ -24,7 +24,12 @@
KeyInput::KeyInput() :
gcn::KeyInput(),
+#ifdef USE_SDL2
+ mActionId(-2),
+ mText()
+#else
mActionId(-2)
+#endif
{
}