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
e21abfe0
Commit
e21abfe0
authored
Oct 07, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Use BOOL type where appropriate.
parent
b95272e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
msi.c
dlls/msi/tests/msi.c
+5
-5
No files found.
dlls/msi/tests/msi.c
View file @
e21abfe0
...
...
@@ -12766,7 +12766,7 @@ static void test_MsiGetPatchInfo(void)
static
void
test_MsiEnumProducts
(
void
)
{
UINT
r
;
int
found1
,
found2
,
found3
;
BOOL
found1
,
found2
,
found3
;
DWORD
index
;
char
product1
[
39
],
product2
[
39
],
product3
[
39
],
guid
[
39
];
char
product_squashed1
[
33
],
product_squashed2
[
33
],
product_squashed3
[
33
];
...
...
@@ -12824,12 +12824,12 @@ static void test_MsiEnumProducts(void)
r
=
MsiEnumProductsA
(
index
,
guid
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
found1
=
found2
=
found3
=
0
;
found1
=
found2
=
found3
=
FALSE
;
while
((
r
=
MsiEnumProductsA
(
index
,
guid
))
==
ERROR_SUCCESS
)
{
if
(
!
strcmp
(
product1
,
guid
))
found1
=
1
;
if
(
!
strcmp
(
product2
,
guid
))
found2
=
1
;
if
(
!
strcmp
(
product3
,
guid
))
found3
=
1
;
if
(
!
strcmp
(
product1
,
guid
))
found1
=
TRUE
;
if
(
!
strcmp
(
product2
,
guid
))
found2
=
TRUE
;
if
(
!
strcmp
(
product3
,
guid
))
found3
=
TRUE
;
index
++
;
}
ok
(
r
==
ERROR_NO_MORE_ITEMS
,
"Expected ERROR_NO_MORE_ITEMS, got %u
\n
"
,
r
);
...
...
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