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
bdf50d88
Commit
bdf50d88
authored
Mar 17, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Mar 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Always retrieve the output mode.
Fixes a compiler warning. Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ee0337f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
process.c
dlls/kernel32/tests/process.c
+4
-4
No files found.
dlls/kernel32/tests/process.c
View file @
bdf50d88
...
@@ -1520,8 +1520,8 @@ static void test_Console(void)
...
@@ -1520,8 +1520,8 @@ static void test_Console(void)
startup
.
hStdError
=
startup
.
hStdOutput
;
startup
.
hStdError
=
startup
.
hStdOutput
;
ok
(
GetConsoleScreenBufferInfo
(
startup
.
hStdOutput
,
&
sbi
),
"Getting sb info
\n
"
);
ok
(
GetConsoleScreenBufferInfo
(
startup
.
hStdOutput
,
&
sbi
),
"Getting sb info
\n
"
);
ok
(
GetConsoleMode
(
startup
.
hStdInput
,
&
modeIn
)
&&
ok
(
GetConsoleMode
(
startup
.
hStdInput
,
&
modeIn
)
,
"Getting console in mode
\n
"
);
GetConsoleMode
(
startup
.
hStdOutput
,
&
modeOut
),
"Getting console modes
\n
"
);
ok
(
GetConsoleMode
(
startup
.
hStdOutput
,
&
modeOut
),
"Getting console out mode
\n
"
);
cpIn
=
GetConsoleCP
();
cpIn
=
GetConsoleCP
();
cpOut
=
GetConsoleOutputCP
();
cpOut
=
GetConsoleOutputCP
();
...
@@ -1536,8 +1536,8 @@ static void test_Console(void)
...
@@ -1536,8 +1536,8 @@ static void test_Console(void)
/* now get the modification the child has made, and resets parents expected values */
/* now get the modification the child has made, and resets parents expected values */
ok
(
GetConsoleScreenBufferInfo
(
startup
.
hStdOutput
,
&
sbiC
),
"Getting sb info
\n
"
);
ok
(
GetConsoleScreenBufferInfo
(
startup
.
hStdOutput
,
&
sbiC
),
"Getting sb info
\n
"
);
ok
(
GetConsoleMode
(
startup
.
hStdInput
,
&
modeInC
)
&&
ok
(
GetConsoleMode
(
startup
.
hStdInput
,
&
modeInC
)
,
"Getting console in mode
\n
"
);
GetConsoleMode
(
startup
.
hStdOutput
,
&
modeOutC
),
"Getting console modes
\n
"
);
ok
(
GetConsoleMode
(
startup
.
hStdOutput
,
&
modeOutC
),
"Getting console out mode
\n
"
);
SetConsoleMode
(
startup
.
hStdInput
,
modeIn
);
SetConsoleMode
(
startup
.
hStdInput
,
modeIn
);
SetConsoleMode
(
startup
.
hStdOutput
,
modeOut
);
SetConsoleMode
(
startup
.
hStdOutput
,
modeOut
);
...
...
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