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
7531091f
Commit
7531091f
authored
Aug 20, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix tests on some broken Windows versions.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5b384245
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
console.c
dlls/kernel32/tests/console.c
+3
-3
No files found.
dlls/kernel32/tests/console.c
View file @
7531091f
...
...
@@ -2255,9 +2255,9 @@ static void check_region_(unsigned int line, const SMALL_RECT *region, unsigned
else
ok_
(
__FILE__
,
line
)(
region
->
Right
==
-
right
||
region
->
Right
==
region
->
Left
-
1
,
"Right = %u, expected %d
\n
"
,
region
->
Right
,
right
);
if
(
bottom
>
=
0
)
if
(
bottom
>
0
)
ok_
(
__FILE__
,
line
)(
region
->
Bottom
==
bottom
,
"Bottom = %u, expected %u
\n
"
,
region
->
Bottom
,
bottom
);
else
else
if
(
bottom
<
0
)
ok_
(
__FILE__
,
line
)(
region
->
Bottom
==
-
bottom
||
region
->
Bottom
==
region
->
Top
-
1
,
"Bottom = %u, expected %d
\n
"
,
region
->
Bottom
,
bottom
);
}
...
...
@@ -2862,7 +2862,7 @@ static void test_ReadConsoleOutput(HANDLE console)
set_region
(
&
region
,
200
,
7
,
15
,
211
);
ret
=
ReadConsoleOutputW
(
console
,
char_info_buf
,
size
,
coord
,
&
region
);
ok
(
!
ret
,
"ReadConsoleOutputW returned: %x(%u)
\n
"
,
ret
,
GetLastError
());
check_region
(
&
region
,
200
,
7
,
-
15
,
-
211
);
check_region
(
&
region
,
200
,
7
,
-
15
,
0
);
size
.
X
=
23
;
size
.
Y
=
17
;
...
...
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