summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-07 19:13:30 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-12 08:53:23 +0100
commit0ae7f9da0c0454d6b78a775bb80ad267aa82da13 (patch)
treeff4fff3fa728be0b01cc8511959ae94e9251138e /tools
parent8cb481ba1818b1eb2ff6d2b64b73b64df0c50d7a (diff)
WaE: suggest parentheses around '&&' within '||'
Diffstat (limited to 'tools')
-rw-r--r--tools/source/misc/pathutils.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/misc/pathutils.cxx b/tools/source/misc/pathutils.cxx
index 0f0d0b767356..984ace0fadbf 100644
--- a/tools/source/misc/pathutils.cxx
+++ b/tools/source/misc/pathutils.cxx
@@ -160,7 +160,7 @@ WCHAR * resolveLink(WCHAR * path) {
((c == 0xE0 &&
static_cast< unsigned char >(p1[i]) >= 0xA0 &&
static_cast< unsigned char >(p1[i]) <= 0xBF) ||
- ((c >= 0xE1 && c <= 0xEC || c >= 0xEE && c <= 0xEF) &&
+ (((c >= 0xE1 && c <= 0xEC) || (c >= 0xEE && c <= 0xEF)) &&
static_cast< unsigned char >(p1[i]) >= 0x80 &&
static_cast< unsigned char >(p1[i]) <= 0xBF) ||
(c == 0xED &&