diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-23 16:24:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-23 19:04:08 +0300 |
commit | ecc0dbab411d6f1f741dd19d0bc593ecc36a4941 (patch) | |
tree | 3e7cbd083fd2d8e25da0ec76b22e62310f1e42c1 /src/gui/widgets/window.cpp | |
parent | bc4c9a33066e26bcdd3c564c90294777a839a5be (diff) | |
download | mv-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.gz mv-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.bz2 mv-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.xz mv-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.zip |
fix code style.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 3 |
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; |