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
d7e831c1
Commit
d7e831c1
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 CHAR_INFO_MODE_TEXTSTDATTR.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bed3b61b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
condrv.h
include/wine/condrv.h
+0
-1
conhost.c
programs/conhost/conhost.c
+0
-11
No files found.
include/wine/condrv.h
View file @
d7e831c1
...
@@ -115,7 +115,6 @@ enum char_info_mode
...
@@ -115,7 +115,6 @@ enum char_info_mode
CHAR_INFO_MODE_TEXT
,
/* characters only */
CHAR_INFO_MODE_TEXT
,
/* characters only */
CHAR_INFO_MODE_ATTR
,
/* attributes only */
CHAR_INFO_MODE_ATTR
,
/* attributes only */
CHAR_INFO_MODE_TEXTATTR
,
/* both characters and attributes */
CHAR_INFO_MODE_TEXTATTR
,
/* both characters and attributes */
CHAR_INFO_MODE_TEXTSTDATTR
,
/* characters but use standard attributes */
};
};
/* IOCTL_CONDRV_GET_OUTPUT_INFO result */
/* IOCTL_CONDRV_GET_OUTPUT_INFO result */
...
...
programs/conhost/conhost.c
View file @
d7e831c1
...
@@ -1963,10 +1963,6 @@ static NTSTATUS write_output( struct screen_buffer *screen_buffer, const struct
...
@@ -1963,10 +1963,6 @@ static NTSTATUS write_output( struct screen_buffer *screen_buffer, const struct
case
CHAR_INFO_MODE_TEXTATTR
:
case
CHAR_INFO_MODE_TEXTATTR
:
*
dest
=
*
(
const
char_info_t
*
)
src
;
*
dest
=
*
(
const
char_info_t
*
)
src
;
break
;
break
;
case
CHAR_INFO_MODE_TEXTSTDATTR
:
dest
->
ch
=
*
(
const
WCHAR
*
)
src
;
dest
->
attr
=
screen_buffer
->
attr
;
break
;
default:
default:
return
STATUS_INVALID_PARAMETER
;
return
STATUS_INVALID_PARAMETER
;
}
}
...
@@ -2131,13 +2127,6 @@ static NTSTATUS fill_output( struct screen_buffer *screen_buffer, const struct c
...
@@ -2131,13 +2127,6 @@ static NTSTATUS fill_output( struct screen_buffer *screen_buffer, const struct c
dest
[
i
].
attr
=
params
->
attr
;
dest
[
i
].
attr
=
params
->
attr
;
}
}
break
;
break
;
case
CHAR_INFO_MODE_TEXTSTDATTR
:
for
(
i
=
0
;
i
<
count
;
i
++
)
{
dest
[
i
].
ch
=
params
->
ch
;
dest
[
i
].
attr
=
screen_buffer
->
attr
;
}
break
;
default:
default:
return
STATUS_INVALID_PARAMETER
;
return
STATUS_INVALID_PARAMETER
;
}
}
...
...
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