Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f057d7d6
Commit
f057d7d6
authored
Jul 04, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jul 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Reset a variable before testing.
parent
f96e210e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
moniker.c
dlls/ole32/tests/moniker.c
+4
-1
No files found.
dlls/ole32/tests/moniker.c
View file @
f057d7d6
...
...
@@ -1143,7 +1143,7 @@ static void test_moniker(
LPBYTE
moniker_data
;
DWORD
moniker_size
;
DWORD
i
;
BOOL
same
=
TRUE
;
BOOL
same
;
BYTE
buffer
[
128
];
IMoniker
*
moniker_proxy
;
LPOLESTR
display_name
;
...
...
@@ -1183,6 +1183,7 @@ static void test_moniker(
testname
,
sizeof_expected_moniker_comparison_data
,
moniker_size
);
/* then do a byte-by-byte comparison */
same
=
TRUE
;
for
(
i
=
0
;
i
<
min
(
moniker_size
,
sizeof_expected_moniker_comparison_data
);
i
++
)
{
if
(
expected_moniker_comparison_data
[
i
]
!=
buffer
[
i
])
...
...
@@ -1226,6 +1227,7 @@ static void test_moniker(
testname
,
(
DWORD
)
round_global_size
(
sizeof_expected_moniker_saved_data
),
moniker_size
);
/* then do a byte-by-byte comparison */
same
=
TRUE
;
for
(
i
=
0
;
i
<
min
(
moniker_size
,
round_global_size
(
sizeof_expected_moniker_saved_data
));
i
++
)
{
if
(
expected_moniker_saved_data
[
i
]
!=
moniker_data
[
i
])
...
...
@@ -1272,6 +1274,7 @@ static void test_moniker(
testname
,
(
DWORD
)
round_global_size
(
sizeof_expected_moniker_marshal_data
),
moniker_size
);
/* then do a byte-by-byte comparison */
same
=
TRUE
;
if
(
expected_moniker_marshal_data
)
{
for
(
i
=
0
;
i
<
min
(
moniker_size
,
round_global_size
(
sizeof_expected_moniker_marshal_data
));
i
++
)
...
...
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