From 0ae7f9da0c0454d6b78a775bb80ad267aa82da13 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 7 Mar 2012 19:13:30 +0100 Subject: WaE: suggest parentheses around '&&' within '||' --- tools/source/misc/pathutils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 && -- cgit