Skip to content

Commit

Permalink
Fix gcc4 build by adding parens
Browse files Browse the repository at this point in the history
  • Loading branch information
jscipione committed Jan 25, 2013
1 parent feb6002 commit 65b9235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/servers/app/decorator/DefaultWindowBehaviour.cpp
Expand Up @@ -843,8 +843,8 @@ DefaultWindowBehaviour::MouseDown(BMessage* message, BPoint where,
uint32 flags = fWindow->Flags();

if ((buttons & B_SECONDARY_MOUSE_BUTTON) != 0
|| _IsControlModifier(fLastModifiers)
&& (buttons & B_PRIMARY_MOUSE_BUTTON) != 0) {
|| (_IsControlModifier(fLastModifiers)
&& (buttons & B_PRIMARY_MOUSE_BUTTON) != 0)) {
// right mouse button or control + left mouse button
switch (hitRegion) {
case Decorator::REGION_TAB:
Expand Down

0 comments on commit 65b9235

Please sign in to comment.