summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-23 16:24:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-23 19:04:08 +0300
commitecc0dbab411d6f1f741dd19d0bc593ecc36a4941 (patch)
tree3e7cbd083fd2d8e25da0ec76b22e62310f1e42c1 /src/gui/widgets/window.cpp
parentbc4c9a33066e26bcdd3c564c90294777a839a5be (diff)
downloadManaVerse-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.gz
ManaVerse-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.bz2
ManaVerse-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.xz
ManaVerse-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 879190932..95ceee0eb 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -948,7 +948,8 @@ int Window::getResizeHandles(const gcn::MouseEvent &event)
resizeHandles |= (y > mDimension.height - resizeBorderWidth)
? BOTTOM : (y < resizeBorderWidth) ? TOP : 0;
}
- if (x >= (unsigned)mGripRect.x && y >= (unsigned)mGripRect.y)
+ if (x >= static_cast<unsigned>(mGripRect.x)
+ && y >= static_cast<unsigned>(mGripRect.y))
{
mDragOffsetX = x;
mDragOffsetY = y;