From f470db1e23b7da3f72ca26a7015d70b615b2ea3d Mon Sep 17 00:00:00 2001 From: Orgad Shaneh <orgad.shaneh@audiocodes.com> Date: Mon, 19 May 2014 18:35:11 +0300 Subject: [PATCH] ProjectExplorer: Add parentheses to clarify precedence Change-Id: Ife6fc962ff8fbea6cf2020fa888269eefce2c4d4 Reviewed-by: David Schulz <david.schulz@digia.com> --- .../devicesupport/desktopprocesssignaloperation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp b/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp index 032245eeb5a..18869462531 100644 --- a/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp +++ b/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp @@ -171,8 +171,8 @@ GDB 32bit | Api | Api | N/A | Win32 bool creatorIs64Bit = Utils::is64BitWindowsBinary(qApp->applicationFilePath()); if (!is64BitSystem || si == NoSpecialInterrupt - || si == Win64Interrupt && creatorIs64Bit - || si == Win32Interrupt && !creatorIs64Bit) { + || (si == Win64Interrupt && creatorIs64Bit) + || (si == Win32Interrupt && !creatorIs64Bit)) { if (!DebugBreakProcess(inferior)) { appendMsgCannotInterrupt(pid, tr("DebugBreakProcess failed:") + QLatin1Char(' ') + Utils::winErrorMessage(GetLastError())); -- GitLab