Commit ec05c034 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

conhost: Initialize color_map when creating an alternate screen buffer.

parent 8993f572
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment