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
d127bbd5
Commit
d127bbd5
authored
Dec 05, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink/tests: Fix some failures on Win9x and WinMe.
parent
fee339f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
hlink.c
dlls/hlink/tests/hlink.c
+7
-1
No files found.
dlls/hlink/tests/hlink.c
View file @
d127bbd5
...
...
@@ -351,6 +351,7 @@ static void test_persist_save_data(const char *testname, IHlink *lnk,
const
unsigned
char
*
data
;
DWORD
i
;
BOOL
same
;
unsigned
int
expected_data_win9x_size
=
0
;
hr
=
IHlink_QueryInterface
(
lnk
,
&
IID_IPersistStream
,
(
void
**
)
&
ps
);
ok
(
hr
==
S_OK
,
"IHlink_QueryInterface failed with error 0x%08x
\n
"
,
hr
);
...
...
@@ -368,8 +369,13 @@ static void test_persist_save_data(const char *testname, IHlink *lnk,
data
=
GlobalLock
(
hglobal
);
if
(
expected_data_size
%
4
)
expected_data_win9x_size
=
4
*
((
expected_data_size
/
4
)
+
1
);
/* first check we have the right amount of data */
ok
((
data_size
==
expected_data_size
)
||
(
data_size
==
expected_data_alt_size
),
ok
((
data_size
==
expected_data_size
)
||
(
data_size
==
expected_data_alt_size
)
||
broken
(
data_size
==
expected_data_win9x_size
),
/* Win9x and WinMe */
"%s: Size of saved data differs (expected %d or %d, actual %d)
\n
"
,
testname
,
expected_data_size
,
expected_data_alt_size
,
data_size
);
...
...
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