summaryrefslogtreecommitdiff
path: root/src/guichan/mouseinput.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/mouseinput.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/mouseinput.hpp')
-rw-r--r--src/guichan/mouseinput.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/guichan/mouseinput.hpp b/src/guichan/mouseinput.hpp
index e441d0160..3825d5439 100644
--- a/src/guichan/mouseinput.hpp
+++ b/src/guichan/mouseinput.hpp
@@ -65,7 +65,13 @@ namespace gcn
/**
* Constructor.
*/
- MouseInput() { };
+ MouseInput() :
+ mType(0),
+ mButton(0),
+ mTimeStamp(0),
+ mX(0),
+ mY(0)
+ { };
/**
* Constructor.