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
83876059
Commit
83876059
authored
Jan 06, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix a dialog test failure on Windows 10.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
388dd4d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dialog.c
dlls/user32/tests/dialog.c
+2
-0
No files found.
dlls/user32/tests/dialog.c
View file @
83876059
...
...
@@ -1984,6 +1984,8 @@ static void test_MessageBoxFontTest(void)
ncMetrics
.
cbSize
=
FIELD_OFFSET
(
NONCLIENTMETRICSW
,
iPaddedBorderWidth
);
SystemParametersInfoW
(
SPI_GETNONCLIENTMETRICS
,
0
,
&
ncMetrics
,
0
);
/* The height doesn't match on Windows 10 1709+. */
ncMetrics
.
lfMessageFont
.
lfHeight
=
lfStaticFont
.
lfHeight
;
ok
(
!
memcmp
(
&
lfStaticFont
,
&
ncMetrics
.
lfMessageFont
,
FIELD_OFFSET
(
LOGFONTW
,
lfFaceName
))
&&
!
lstrcmpW
(
lfStaticFont
.
lfFaceName
,
ncMetrics
.
lfMessageFont
.
lfFaceName
),
"dialog doesn't use message box font
\n
"
);
...
...
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