Fix GCC 5 suggest parentheses warning.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
Murai Takashi 2015-04-19 18:01:47 +09:00 committed by Augustin Cavalier
parent 25122be50e
commit 04756e005c

View File

@ -696,7 +696,7 @@ WorkspacesWindow::FrameMoved(BPoint origin)
void
WorkspacesWindow::FrameResized(float width, float height)
{
if (!modifiers() & B_SHIFT_KEY) {
if (!(modifiers() & B_SHIFT_KEY)) {
BWindow::FrameResized(width, height);
return;
}