Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5ab2999f
Commit
5ab2999f
authored
Nov 19, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Relax iCaptionWidth test to fix some failures.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
50cb282c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sysparams.c
dlls/user32/tests/sysparams.c
+3
-3
No files found.
dlls/user32/tests/sysparams.c
View file @
5ab2999f
...
...
@@ -1552,10 +1552,10 @@ static void test_SPI_SETNONCLIENTMETRICS( void ) /* 44 */
ok
(
Ncmcur
.
iSmCaptionHeight
==
expect
,
"SmCaptionHeight: %d expected %d
\n
"
,
Ncmcur
.
iSmCaptionHeight
,
expect
);
ok
(
Ncmcur
.
iCaptionWidth
==
8
||
Ncmcur
.
iCaptionWidth
==
12
||
/* Vista, W7b */
/* iCaptionWidth depends on a version, could be 8, 12 (Vista, Win7), 13 */
ok
(
(
Ncmcur
.
iCaptionWidth
>=
8
&&
Ncmcur
.
iCaptionWidth
<=
13
)
||
Ncmcur
.
iCaptionWidth
==
Ncmstart
.
iCaptionWidth
,
/* with windows XP theme, the value never changes */
"CaptionWidth: %d expected
8, 12
or %d
\n
"
,
Ncmcur
.
iCaptionWidth
,
Ncmstart
.
iCaptionWidth
);
"CaptionWidth: %d expected
from [8, 13]
or %d
\n
"
,
Ncmcur
.
iCaptionWidth
,
Ncmstart
.
iCaptionWidth
);
ok
(
Ncmcur
.
iScrollWidth
==
8
,
"ScrollWidth: %d expected 8
\n
"
,
Ncmcur
.
iScrollWidth
);
ok
(
Ncmcur
.
iScrollHeight
==
8
,
...
...
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