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
c077aaf1
Commit
c077aaf1
authored
Jun 05, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix some copy/paste bugs in the implementation of condition operators.
parent
92deacbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
cond.y
dlls/msi/cond.y
+7
-7
No files found.
dlls/msi/cond.y
View file @
c077aaf1
...
...
@@ -463,7 +463,7 @@ static INT compare_int( INT a, INT operator, INT b )
return
a
>=
b
;
case
COND_LE
:
case
COND_ILE
:
return
a
>
=
b
;
return
a
<
=
b
;
case
COND_SS
:
case
COND_ISS
:
return
(
a
&
b
)
?
1
:
0
;
...
...
@@ -492,21 +492,21 @@ static int COND_GetOperator( COND_input *cond )
int
id
;
}
table
[]
=
{
{
{
'~'
,
'='
,
0
},
COND_IEQ
},
{
{
'~'
,
'
>
'
,
'='
,
0
},
COND_ILE
},
{
{
'~'
,
'
<
'
,
'='
,
0
},
COND_ILE
},
{
{
'~'
,
'>'
,
'<'
,
0
},
COND_ISS
},
{
{
'~'
,
'>'
,
'>'
,
0
},
COND_IRHS
},
{
{
'~'
,
'>'
,
0
},
COND_ILT
},
{
{
'~'
,
'<'
,
'>'
,
0
},
COND_INE
},
{
{
'~'
,
'<'
,
'='
,
0
},
COND_IGE
},
{
{
'~'
,
'<'
,
0
},
COND_ILT
},
{
{
'~'
,
'>'
,
'='
,
0
},
COND_IGE
},
{
{
'~'
,
'<'
,
'<'
,
0
},
COND_ILHS
},
{
{
'~'
,
'
<
'
,
0
},
COND_IGT
},
{
{
'~'
,
'
>
'
,
0
},
COND_IGT
},
{
{
'>'
,
'='
,
0
},
COND_GE
},
{
{
'>'
,
'<'
,
0
},
COND_SS
},
{
{
'
>'
,
'>
'
,
0
},
COND_LHS
},
{
{
'
<'
,
'<
'
,
0
},
COND_LHS
},
{
{
'>'
,
0
},
COND_GT
},
{
{
'<'
,
'>'
,
0
},
COND_NE
},
{
{
'<'
,
'='
,
0
},
COND_LE
},
{
{
'
<'
,
'<
'
,
0
},
COND_RHS
},
{
{
'
>'
,
'>
'
,
0
},
COND_RHS
},
{
{
'<'
,
0
},
COND_LT
},
{
{
0
},
0
}
};
...
...
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