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
e909986e
Commit
e909986e
authored
Oct 14, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conhost: Remove no longer needed condrv_input_info fields.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ef2e281d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
condrv.h
include/wine/condrv.h
+0
-4
conhost.c
programs/conhost/conhost.c
+4
-8
No files found.
include/wine/condrv.h
View file @
e909986e
...
...
@@ -82,10 +82,6 @@ struct condrv_input_info
{
unsigned
int
input_cp
;
/* console input codepage */
unsigned
int
output_cp
;
/* console output codepage */
unsigned
int
history_mode
;
/* whether we duplicate lines in history */
unsigned
int
history_size
;
/* number of lines in history */
unsigned
int
history_index
;
/* number of used lines in history */
unsigned
int
edition_mode
;
/* index to the edition mode flavors */
unsigned
int
input_count
;
/* number of available input records */
condrv_handle_t
win
;
/* renderer window handle */
};
...
...
programs/conhost/conhost.c
View file @
e909986e
...
...
@@ -2396,14 +2396,10 @@ static NTSTATUS console_input_ioctl( struct console *console, unsigned int code,
TRACE
(
"get info
\n
"
);
if
(
in_size
||
*
out_size
!=
sizeof
(
*
info
))
return
STATUS_INVALID_PARAMETER
;
if
(
!
(
info
=
alloc_ioctl_buffer
(
sizeof
(
*
info
))))
return
STATUS_NO_MEMORY
;
info
->
history_mode
=
console
->
history_mode
;
info
->
history_size
=
console
->
history_size
;
info
->
history_index
=
console
->
history_index
;
info
->
edition_mode
=
console
->
edition_mode
;
info
->
input_cp
=
console
->
input_cp
;
info
->
output_cp
=
console
->
output_cp
;
info
->
win
=
condrv_handle
(
console
->
win
);
info
->
input_count
=
console
->
record_count
;
info
->
input_cp
=
console
->
input_cp
;
info
->
output_cp
=
console
->
output_cp
;
info
->
win
=
condrv_handle
(
console
->
win
);
info
->
input_count
=
console
->
record_count
;
return
STATUS_SUCCESS
;
}
...
...
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