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
c20d32d3
Commit
c20d32d3
authored
Dec 16, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Dec 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Use %d to print last_bpp instead of %u.
parent
e2bc3bc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sysparams.c
dlls/user32/tests/sysparams.c
+4
-4
No files found.
dlls/user32/tests/sysparams.c
View file @
c20d32d3
...
...
@@ -2475,7 +2475,7 @@ static void test_WM_DISPLAYCHANGE(void)
todo_wine
ok
(
res
==
WAIT_TIMEOUT
||
broken
(
!
res
),
"WaitForSingleObject returned %#lx
\n
"
,
res
);
todo_wine
ok
(
last_bpp
==
-
1
||
broken
(
last_bpp
==
default_bpp
),
"got WM_DISPLAYCHANGE bpp %
u
\n
"
,
last_bpp
);
ok
(
last_bpp
==
-
1
||
broken
(
last_bpp
==
default_bpp
),
"got WM_DISPLAYCHANGE bpp %
d
\n
"
,
last_bpp
);
displaychange_ok
=
FALSE
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
test_bpps
);
i
++
)
...
...
@@ -2496,7 +2496,7 @@ static void test_WM_DISPLAYCHANGE(void)
/* Wait quite long for the message, screen setting changes can take some time */
res
=
WaitForSingleObject
(
displaychange_sem
,
10000
);
ok
(
!
res
,
"WaitForSingleObject returned %#lx
\n
"
,
res
);
ok
(
last_bpp
==
bpp
,
"got WM_DISPLAYCHANGE bpp %
u
\n
"
,
last_bpp
);
ok
(
last_bpp
==
bpp
,
"got WM_DISPLAYCHANGE bpp %
d
\n
"
,
last_bpp
);
}
else
{
...
...
@@ -2504,7 +2504,7 @@ static void test_WM_DISPLAYCHANGE(void)
win_skip
(
"ChangeDisplaySettingsExW returned %ld
\n
"
,
res
);
ok
(
res
==
DISP_CHANGE_BADMODE
||
broken
(
DISP_CHANGE_FAILED
&&
bpp
==
8
),
"ChangeDisplaySettingsExW returned %ld
\n
"
,
res
);
ok
(
last_bpp
==
-
1
,
"got WM_DISPLAYCHANGE bpp %
u
\n
"
,
last_bpp
);
ok
(
last_bpp
==
-
1
,
"got WM_DISPLAYCHANGE bpp %
d
\n
"
,
last_bpp
);
}
displaychange_ok
=
FALSE
;
...
...
@@ -2525,7 +2525,7 @@ static void test_WM_DISPLAYCHANGE(void)
todo_wine
ok
(
res
==
WAIT_TIMEOUT
||
broken
(
!
res
),
"WaitForSingleObject returned %#lx
\n
"
,
res
);
todo_wine
ok
(
last_bpp
==
-
1
||
broken
(
last_bpp
==
default_bpp
),
"got WM_DISPLAYCHANGE bpp %
u
\n
"
,
last_bpp
);
ok
(
last_bpp
==
-
1
||
broken
(
last_bpp
==
default_bpp
),
"got WM_DISPLAYCHANGE bpp %
d
\n
"
,
last_bpp
);
displaychange_ok
=
FALSE
;
CloseHandle
(
displaychange_sem
);
...
...
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