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
28809322
Commit
28809322
authored
Dec 14, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conhost: Remove unused extra_size argument from set_output_info.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1e992a43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
conhost.c
programs/conhost/conhost.c
+3
-5
No files found.
programs/conhost/conhost.c
View file @
28809322
...
...
@@ -1826,15 +1826,13 @@ NTSTATUS change_screen_buffer_size( struct screen_buffer *screen_buffer, int new
}
static
NTSTATUS
set_output_info
(
struct
screen_buffer
*
screen_buffer
,
const
struct
condrv_output_info_params
*
params
,
size_t
extra_size
)
const
struct
condrv_output_info_params
*
params
)
{
const
struct
condrv_output_info
*
info
=
&
params
->
info
;
NTSTATUS
status
;
TRACE
(
"%p
\n
"
,
screen_buffer
);
extra_size
-=
sizeof
(
*
params
);
if
(
params
->
mask
&
SET_CONSOLE_OUTPUT_INFO_CURSOR_GEOM
)
{
if
(
info
->
cursor_size
<
1
||
info
->
cursor_size
>
100
)
return
STATUS_INVALID_PARAMETER
;
...
...
@@ -2427,8 +2425,8 @@ static NTSTATUS screen_buffer_ioctl( struct screen_buffer *screen_buffer, unsign
return
get_output_info
(
screen_buffer
,
out_size
);
case
IOCTL_CONDRV_SET_OUTPUT_INFO
:
if
(
in_size
<
sizeof
(
struct
condrv_output_info
)
||
*
out_size
)
return
STATUS_INVALID_PARAMETER
;
return
set_output_info
(
screen_buffer
,
in_data
,
in_size
);
if
(
in_size
!=
sizeof
(
struct
condrv_output_info_params
)
||
*
out_size
)
return
STATUS_INVALID_PARAMETER
;
return
set_output_info
(
screen_buffer
,
in_data
);
case
IOCTL_CONDRV_FILL_OUTPUT
:
if
(
in_size
!=
sizeof
(
struct
condrv_fill_output_params
)
||
*
out_size
!=
sizeof
(
DWORD
))
...
...
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