diff options
Diffstat (limited to 'src/keyevent.cpp')
-rw-r--r-- | src/keyevent.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyevent.cpp b/src/keyevent.cpp index 1cbd32402..fef854fbf 100644 --- a/src/keyevent.cpp +++ b/src/keyevent.cpp @@ -33,7 +33,12 @@ KeyEvent::KeyEvent(gcn::Widget *const source, const gcn::Key& key) : gcn::KeyEvent(source, shiftPressed, controlPressed, altPressed, metaPressed, type, numericPad, key), +#ifdef USE_SDL2 + mActionId(actionId), + mText() +#else mActionId(actionId) +#endif { } |