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
f4b0cf5f
Commit
f4b0cf5f
authored
Oct 23, 2007
by
Dan Kegel
Committed by
Alexandre Julliard
Oct 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix false pass in warn+heap case.
parent
912c3e60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
font.c
dlls/gdi32/tests/font.c
+2
-1
No files found.
dlls/gdi32/tests/font.c
View file @
f4b0cf5f
...
...
@@ -1496,7 +1496,8 @@ static void test_text_metrics(const LOGFONTA *lf)
ok
(
hfont2
!=
0
,
"CreateFontIndirect error %u
\n
"
,
GetLastError
());
hfont_prev
=
SelectObject
(
hdc
,
hfont2
);
memset
(
&
gm1
,
0xaa
,
sizeof
(
gm1
));
/* filling with 0xaa causes false pass under WINEDEBUG=warn+heap */
memset
(
&
gm1
,
0xab
,
sizeof
(
gm1
));
SetLastError
(
0xdeadbeef
);
ret
=
GetGlyphOutlineA
(
hdc
,
'x'
,
GGO_METRICS
,
&
gm1
,
0
,
NULL
,
&
mat2
);
ok
(
ret
!=
GDI_ERROR
,
"GetGlyphOutline error 0x%x
\n
"
,
GetLastError
());
...
...
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