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
484add22
Commit
484add22
authored
Oct 12, 2008
by
Jeremy White
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Make the comparison of the enumerated and returned logfont structures actually work.
parent
fed3d506
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
font.c
dlls/gdi32/tests/font.c
+1
-1
No files found.
dlls/gdi32/tests/font.c
View file @
484add22
...
...
@@ -106,7 +106,7 @@ static void check_font(const char* test, const LOGFONTA* lf, HFONT hfont)
minlen
++
;
minlen
+=
FIELD_OFFSET
(
LOGFONTA
,
lfFaceName
)
+
1
;
ok
(
ret
==
sizeof
(
LOGFONTA
)
||
ret
==
minlen
,
"%s: GetObject returned %d
\n
"
,
test
,
ret
);
ok
(
!
memcmp
(
&
lf
,
&
lf
,
FIELD_OFFSET
(
LOGFONTA
,
lfFaceName
)),
"%s: fonts don't match
\n
"
,
test
);
ok
(
!
memcmp
(
lf
,
&
getobj_
lf
,
FIELD_OFFSET
(
LOGFONTA
,
lfFaceName
)),
"%s: fonts don't match
\n
"
,
test
);
ok
(
!
lstrcmpA
(
lf
->
lfFaceName
,
getobj_lf
.
lfFaceName
),
"%s: font names don't match: %s != %s
\n
"
,
test
,
lf
->
lfFaceName
,
getobj_lf
.
lfFaceName
);
}
...
...
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