mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 12:38:02 +00:00
shlwapi: Add parentheses to clarify the precedence between '&' and '&&'.
This commit is contained in:
parent
ddaaa54b15
commit
bdb65df982
|
@ -2974,7 +2974,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
|
|||
{
|
||||
if (ch < 126)
|
||||
{
|
||||
if ((ch & 0x1 && ch != ';') || !ch || isalnum(ch) || ch == '$' || ch == '&' || ch == '(' ||
|
||||
if (((ch & 0x1) && ch != ';') || !ch || isalnum(ch) || ch == '$' || ch == '&' || ch == '(' ||
|
||||
ch == '.' || ch == '@' || ch == '^' ||
|
||||
ch == '\'' || ch == 130 || ch == '`')
|
||||
flags |= GCT_SHORTCHAR; /* All these are valid for DOS */
|
||||
|
|
Loading…
Reference in a new issue