shell32: Add parentheses to clarify the precedence between '&' and '||'.
This commit is contained in:
parent
f01888da59
commit
f5dede7c19
@ -2243,7 +2243,7 @@ FileStructW* _ILGetFileStructW(LPCITEMIDLIST pidl) {
|
|||||||
/* Currently I don't see a fool prove way to figure out if a pidl is for sure of WinXP
|
/* Currently I don't see a fool prove way to figure out if a pidl is for sure of WinXP
|
||||||
* style with a FileStructW member. If we switch all our shellfolder-implementations to
|
* style with a FileStructW member. If we switch all our shellfolder-implementations to
|
||||||
* the new format, this won't be a problem. For now, we do as many sanity checks as possible. */
|
* the new format, this won't be a problem. For now, we do as many sanity checks as possible. */
|
||||||
if (cbOffset & 0x1 || /* FileStructW member is word aligned in the pidl */
|
if ((cbOffset & 0x1) || /* FileStructW member is word aligned in the pidl */
|
||||||
/* FileStructW is positioned after FileStruct */
|
/* FileStructW is positioned after FileStruct */
|
||||||
cbOffset < sizeof(pidl->mkid.cb) + sizeof(PIDLTYPE) + sizeof(FileStruct) ||
|
cbOffset < sizeof(pidl->mkid.cb) + sizeof(PIDLTYPE) + sizeof(FileStruct) ||
|
||||||
/* There has to be enough space at cbOffset in the pidl to hold FileStructW and cbOffset */
|
/* There has to be enough space at cbOffset in the pidl to hold FileStructW and cbOffset */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user