summaryrefslogtreecommitdiff
path: root/src/guichan/keyinput.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-31 01:27:37 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-31 01:27:37 +0300
commit9d3b975bcb84ad1c61d628de2804751c0d0707dd (patch)
treefe7494b1ecd561a40dc96d088c77d69b6d4ce13e /src/guichan/keyinput.hpp
parent1d0044cbc81e547ad688a295288910d58e1a3fb1 (diff)
downloadmanaverse-9d3b975bcb84ad1c61d628de2804751c0d0707dd.tar.gz
manaverse-9d3b975bcb84ad1c61d628de2804751c0d0707dd.tar.bz2
manaverse-9d3b975bcb84ad1c61d628de2804751c0d0707dd.tar.xz
manaverse-9d3b975bcb84ad1c61d628de2804751c0d0707dd.zip
Fix code style and missing members initialisations.
Diffstat (limited to 'src/guichan/keyinput.hpp')
-rw-r--r--src/guichan/keyinput.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/guichan/keyinput.hpp b/src/guichan/keyinput.hpp
index d3f85d27b..68c58fa0d 100644
--- a/src/guichan/keyinput.hpp
+++ b/src/guichan/keyinput.hpp
@@ -63,7 +63,14 @@ namespace gcn
/**
* Constructor.
*/
- KeyInput() { };
+ KeyInput() :
+ mType(0),
+ mShiftPressed(false),
+ mControlPressed(false),
+ mAltPressed(false),
+ mMetaPressed(false),
+ mNumericPad(false)
+ { };
/**
* Constructor.