Fix gcc4 build by adding parens
This commit is contained in:
@@ -843,8 +843,8 @@ DefaultWindowBehaviour::MouseDown(BMessage* message, BPoint where,
|
|||||||
uint32 flags = fWindow->Flags();
|
uint32 flags = fWindow->Flags();
|
||||||
|
|
||||||
if ((buttons & B_SECONDARY_MOUSE_BUTTON) != 0
|
if ((buttons & B_SECONDARY_MOUSE_BUTTON) != 0
|
||||||
|| _IsControlModifier(fLastModifiers)
|
|| (_IsControlModifier(fLastModifiers)
|
||||||
&& (buttons & B_PRIMARY_MOUSE_BUTTON) != 0) {
|
&& (buttons & B_PRIMARY_MOUSE_BUTTON) != 0)) {
|
||||||
// right mouse button or control + left mouse button
|
// right mouse button or control + left mouse button
|
||||||
switch (hitRegion) {
|
switch (hitRegion) {
|
||||||
case Decorator::REGION_TAB:
|
case Decorator::REGION_TAB:
|
||||||
|
|||||||
Reference in New Issue
Block a user