Jacek Caban : conhost: Remove no longer needed CHAR_INFO_MODE_TEXTSTDATTR.
Alexandre Julliard
julliard at winehq.org
Wed Oct 14 15:37:22 CDT 2020
Module: wine
Branch: master
Commit: d7e831c1123cca7785a6b8813f4991b42f9473e2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d7e831c1123cca7785a6b8813f4991b42f9473e2
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Oct 14 19:58:17 2020 +0200
conhost: Remove no longer needed CHAR_INFO_MODE_TEXTSTDATTR.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/wine/condrv.h | 1 -
programs/conhost/conhost.c | 11 -----------
2 files changed, 12 deletions(-)
diff --git a/include/wine/condrv.h b/include/wine/condrv.h
index 602b499114..72aecedd38 100644
--- a/include/wine/condrv.h
+++ b/include/wine/condrv.h
@@ -115,7 +115,6 @@ enum char_info_mode
CHAR_INFO_MODE_TEXT, /* characters only */
CHAR_INFO_MODE_ATTR, /* attributes only */
CHAR_INFO_MODE_TEXTATTR, /* both characters and attributes */
- CHAR_INFO_MODE_TEXTSTDATTR, /* characters but use standard attributes */
};
/* IOCTL_CONDRV_GET_OUTPUT_INFO result */
diff --git a/programs/conhost/conhost.c b/programs/conhost/conhost.c
index 9c780d4951..9b082dffc2 100644
--- a/programs/conhost/conhost.c
+++ b/programs/conhost/conhost.c
@@ -1963,10 +1963,6 @@ static NTSTATUS write_output( struct screen_buffer *screen_buffer, const struct
case CHAR_INFO_MODE_TEXTATTR:
*dest = *(const char_info_t *)src;
break;
- case CHAR_INFO_MODE_TEXTSTDATTR:
- dest->ch = *(const WCHAR *)src;
- dest->attr = screen_buffer->attr;
- break;
default:
return STATUS_INVALID_PARAMETER;
}
@@ -2131,13 +2127,6 @@ static NTSTATUS fill_output( struct screen_buffer *screen_buffer, const struct c
dest[i].attr = params->attr;
}
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:
return STATUS_INVALID_PARAMETER;
}
More information about the wine-cvs
mailing list