conhost: Fix copy-paste error when setting windows size.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50602
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 361b4c381e
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
d81c2f2fa7
commit
9dff1027d5
|
@ -1885,7 +1885,7 @@ static void apply_config( struct console *console, const struct console_config *
|
|||
console->active->attr = config->attr;
|
||||
console->active->popup_attr = config->popup_attr;
|
||||
console->active->win.left = config->win_pos.X;
|
||||
console->active->win.right = config->win_pos.Y;
|
||||
console->active->win.top = config->win_pos.Y;
|
||||
console->active->win.right = config->win_pos.X + config->win_width - 1;
|
||||
console->active->win.bottom = config->win_pos.Y + config->win_height - 1;
|
||||
memcpy( console->active->color_map, config->color_map, sizeof(config->color_map) );
|
||||
|
|
Loading…
Reference in New Issue