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
2209fdbd
Commit
2209fdbd
authored
Nov 12, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Nov 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix GetSystemMetrics test on Win8.
parent
b6b9050d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
sysparams.c
dlls/user32/tests/sysparams.c
+6
-4
No files found.
dlls/user32/tests/sysparams.c
View file @
2209fdbd
...
...
@@ -2786,10 +2786,12 @@ static void test_GetSystemMetrics( void)
screen
.
cx
=
GetSystemMetrics
(
SM_CXSCREEN
);
screen
.
cy
=
GetSystemMetrics
(
SM_CYSCREEN
);
}
ok_gsm_2
(
SM_CXMAXTRACK
,
screen
.
cx
+
4
+
2
*
GetSystemMetrics
(
SM_CXFRAME
),
screen
.
cx
-
4
+
2
*
GetSystemMetrics
(
SM_CXFRAME
));
/* Vista */
ok_gsm_2
(
SM_CYMAXTRACK
,
screen
.
cy
+
4
+
2
*
GetSystemMetrics
(
SM_CYFRAME
),
screen
.
cy
-
4
+
2
*
GetSystemMetrics
(
SM_CYFRAME
));
/* Vista */
ok_gsm_3
(
SM_CXMAXTRACK
,
screen
.
cx
+
4
+
2
*
GetSystemMetrics
(
SM_CXFRAME
),
screen
.
cx
-
4
+
2
*
GetSystemMetrics
(
SM_CXFRAME
),
/* Vista */
screen
.
cx
+
2
*
GetSystemMetrics
(
SM_CXFRAME
));
/* Win8 */
ok_gsm_3
(
SM_CYMAXTRACK
,
screen
.
cy
+
4
+
2
*
GetSystemMetrics
(
SM_CYFRAME
),
screen
.
cy
-
4
+
2
*
GetSystemMetrics
(
SM_CYFRAME
),
/* Vista */
screen
.
cy
+
2
*
GetSystemMetrics
(
SM_CYFRAME
));
/* Win8 */
/* the next two cannot really be tested as they depend on (application)
* toolbars */
/* SM_CXMAXIMIZED */
...
...
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