Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f5dede7c
Commit
f5dede7c
authored
Sep 11, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add parentheses to clarify the precedence between '&' and '||'.
parent
f01888da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pidl.c
dlls/shell32/pidl.c
+1
-1
No files found.
dlls/shell32/pidl.c
View file @
f5dede7c
...
...
@@ -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
* 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. */
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 */
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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment