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
37a9183d
Commit
37a9183d
authored
Aug 08, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Avoid FALSE:TRUE conditional expressions.
parent
4d3a7aa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
engine.c
dlls/jscript/engine.c
+2
-2
No files found.
dlls/jscript/engine.c
View file @
37a9183d
...
...
@@ -461,9 +461,9 @@ static HRESULT equal2_values(VARIANT *lval, VARIANT *rval, BOOL *ret)
break
;
case
VT_BSTR
:
if
(
!
V_BSTR
(
lval
))
*
ret
=
SysStringLen
(
V_BSTR
(
rval
))
?
FALSE
:
TRUE
;
*
ret
=
!
SysStringLen
(
V_BSTR
(
rval
))
;
else
if
(
!
V_BSTR
(
rval
))
*
ret
=
SysStringLen
(
V_BSTR
(
lval
))
?
FALSE
:
TRUE
;
*
ret
=
!
SysStringLen
(
V_BSTR
(
lval
))
;
else
*
ret
=
!
strcmpW
(
V_BSTR
(
lval
),
V_BSTR
(
rval
));
break
;
...
...
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