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
f631780d
Commit
f631780d
authored
Jul 26, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabinet: Avoid TRUE-FALSE conditional expressions.
parent
3a51439f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fdi.c
dlls/cabinet/fdi.c
+4
-4
No files found.
dlls/cabinet/fdi.c
View file @
f631780d
...
@@ -703,9 +703,9 @@ static BOOL FDI_read_entries(
...
@@ -703,9 +703,9 @@ static BOOL FDI_read_entries(
pfdici
->
cFiles
=
num_files
;
pfdici
->
cFiles
=
num_files
;
pfdici
->
setID
=
setid
;
pfdici
->
setID
=
setid
;
pfdici
->
iCabinet
=
cabidx
;
pfdici
->
iCabinet
=
cabidx
;
pfdici
->
fReserve
=
(
flags
&
cfheadRESERVE_PRESENT
)
?
TRUE
:
FALSE
;
pfdici
->
fReserve
=
(
flags
&
cfheadRESERVE_PRESENT
)
!=
0
;
pfdici
->
hasprev
=
(
flags
&
cfheadPREV_CABINET
)
?
TRUE
:
FALSE
;
pfdici
->
hasprev
=
(
flags
&
cfheadPREV_CABINET
)
!=
0
;
pfdici
->
hasnext
=
(
flags
&
cfheadNEXT_CABINET
)
?
TRUE
:
FALSE
;
pfdici
->
hasnext
=
(
flags
&
cfheadNEXT_CABINET
)
!=
0
;
return
TRUE
;
return
TRUE
;
}
}
...
@@ -2815,7 +2815,7 @@ BOOL __cdecl FDICopy(
...
@@ -2815,7 +2815,7 @@ BOOL __cdecl FDICopy(
fdin
.
pv
=
pvUser
;
fdin
.
pv
=
pvUser
;
fdin
.
psz1
=
(
char
*
)
file
->
filename
;
fdin
.
psz1
=
(
char
*
)
file
->
filename
;
fdin
.
hf
=
filehf
;
fdin
.
hf
=
filehf
;
fdin
.
cb
=
(
file
->
attribs
&
cffile_A_EXEC
)
?
TRUE
:
FALSE
;
/* FIXME: is that right? */
fdin
.
cb
=
(
file
->
attribs
&
cffile_A_EXEC
)
!=
0
;
/* FIXME: is that right? */
fdin
.
date
=
file
->
date
;
fdin
.
date
=
file
->
date
;
fdin
.
time
=
file
->
time
;
fdin
.
time
=
file
->
time
;
fdin
.
attribs
=
file
->
attribs
;
/* FIXME: filter _A_EXEC? */
fdin
.
attribs
=
file
->
attribs
;
/* FIXME: filter _A_EXEC? */
...
...
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