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
fc7dae4b
Commit
fc7dae4b
authored
Jul 20, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Remove no longer used code from set_console_input_info.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2fc11e89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
40 deletions
+0
-40
console.c
server/console.c
+0
-40
No files found.
server/console.c
View file @
fc7dae4b
...
...
@@ -849,42 +849,6 @@ static int set_console_input_info( const struct set_console_input_info_request *
evt
.
event
=
CONSOLE_RENDERER_TITLE_EVENT
;
console_input_events_append
(
console
,
&
evt
);
}
if
(
req
->
mask
&
SET_CONSOLE_INPUT_INFO_HISTORY_MODE
)
{
console
->
history_mode
=
req
->
history_mode
;
}
if
((
req
->
mask
&
SET_CONSOLE_INPUT_INFO_HISTORY_SIZE
)
&&
console
->
history_size
!=
req
->
history_size
)
{
struct
history_line
**
mem
=
NULL
;
int
i
,
delta
;
if
(
req
->
history_size
)
{
if
(
!
(
mem
=
mem_alloc
(
req
->
history_size
*
sizeof
(
*
mem
)
)))
goto
error
;
memset
(
mem
,
0
,
req
->
history_size
*
sizeof
(
*
mem
)
);
}
delta
=
(
console
->
history_index
>
req
->
history_size
)
?
(
console
->
history_index
-
req
->
history_size
)
:
0
;
for
(
i
=
delta
;
i
<
console
->
history_index
;
i
++
)
{
mem
[
i
-
delta
]
=
console
->
history
[
i
];
console
->
history
[
i
]
=
NULL
;
}
console
->
history_index
-=
delta
;
for
(
i
=
0
;
i
<
console
->
history_size
;
i
++
)
free
(
console
->
history
[
i
]
);
free
(
console
->
history
);
console
->
history
=
mem
;
console
->
history_size
=
req
->
history_size
;
}
if
(
req
->
mask
&
SET_CONSOLE_INPUT_INFO_EDITION_MODE
)
{
console
->
edition_mode
=
req
->
edition_mode
;
}
if
(
req
->
mask
&
SET_CONSOLE_INPUT_INFO_INPUT_CODEPAGE
)
{
console
->
input_cp
=
req
->
input_cp
;
...
...
@@ -893,10 +857,6 @@ static int set_console_input_info( const struct set_console_input_info_request *
{
console
->
output_cp
=
req
->
output_cp
;
}
if
(
req
->
mask
&
SET_CONSOLE_INPUT_INFO_WIN
)
{
console
->
win
=
req
->
win
;
}
release_object
(
console
);
return
1
;
error:
...
...
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