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
262a7705
Commit
262a7705
authored
Sep 27, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: The GetKerningPairsA() test should pass on all the platforms we care about now.
parent
cd88a0f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
font.c
dlls/gdi32/tests/font.c
+5
-4
No files found.
dlls/gdi32/tests/font.c
View file @
262a7705
...
...
@@ -1342,13 +1342,14 @@ todo_wine {
trace
(
"total_kern_pairs %u
\n
"
,
total_kern_pairs
);
kern_pair
=
HeapAlloc
(
GetProcessHeap
(),
0
,
total_kern_pairs
*
sizeof
(
*
kern_pair
));
#if 0 /* Win98 (GetKerningPairsA) and XP behave differently here, the test passes on XP */
/* Win98 (GetKerningPairsA) and XP behave differently here, the test
* passes on XP.
*/
SetLastError
(
0xdeadbeef
);
ret
=
GetKerningPairsW
(
hdc
,
0
,
kern_pair
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"got error %ld, expected ERROR_INVALID_PARAMETER\n", GetLastError());
ok(ret == 0, "got %lu, expected 0\n", ret);
#endif
"got error %u, expected ERROR_INVALID_PARAMETER
\n
"
,
GetLastError
());
ok
(
ret
==
0
,
"got %u, expected 0
\n
"
,
ret
);
ret
=
GetKerningPairsW
(
hdc
,
100
,
NULL
);
ok
(
ret
==
total_kern_pairs
,
"got %u, expected %u
\n
"
,
ret
,
total_kern_pairs
);
...
...
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