summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-02 21:19:07 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-02 21:19:07 +0300
commit6f23241ba9d7d908534dade0e03041486a970ddc (patch)
tree69d25d1d9f7d6f78d80da60edd4a48f7c8dc85a2 /src/guichan/widgets/window.cpp
parentbfa44d6b007ca2e3ffabafda5beadbf102a6efdc (diff)
downloadplus-6f23241ba9d7d908534dade0e03041486a970ddc.tar.gz
plus-6f23241ba9d7d908534dade0e03041486a970ddc.tar.bz2
plus-6f23241ba9d7d908534dade0e03041486a970ddc.tar.xz
plus-6f23241ba9d7d908534dade0e03041486a970ddc.zip
Other fixes after Coverity checks.
Diffstat (limited to 'src/guichan/widgets/window.cpp')
-rw-r--r--src/guichan/widgets/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/guichan/widgets/window.cpp b/src/guichan/widgets/window.cpp
index feb337828..e541ef242 100644
--- a/src/guichan/widgets/window.cpp
+++ b/src/guichan/widgets/window.cpp
@@ -65,6 +65,8 @@ namespace gcn
mTitleBarHeight(16),
mMovable(true),
mOpaque(true),
+ mDragOffsetX(0),
+ mDragOffsetY(0),
mMoved(false)
{
mFrameSize = 1;
@@ -80,6 +82,8 @@ namespace gcn
mTitleBarHeight(16),
mMovable(true),
mOpaque(true),
+ mDragOffsetX(0),
+ mDragOffsetY(0),
mMoved(false)
{
mFrameSize = 1;