From 9d3b975bcb84ad1c61d628de2804751c0d0707dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 May 2011 01:27:37 +0300 Subject: Fix code style and missing members initialisations. --- src/guichan/keyinput.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/guichan/keyinput.hpp') 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. -- cgit v1.2.3-70-g09d2