conhost: Initialize color_map when creating an alternate screen buffer.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54287 Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
This commit is contained in:
parent
8993f5720a
commit
ec05c03463
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ static struct screen_buffer *create_screen_buffer( struct console *console, int
|
|||
screen_buffer->attr = console->active->attr;
|
||||
screen_buffer->popup_attr = console->active->attr;
|
||||
screen_buffer->font = console->active->font;
|
||||
memcpy( screen_buffer->color_map, console->active->color_map, sizeof(console->active->color_map) );
|
||||
|
||||
if (screen_buffer->font.face_len)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue