Module: wine Branch: stable Commit: 9dff1027d550783186dcfa027bfb6c08faad2a97 URL: https://source.winehq.org/git/wine.git/?a=commit;h=9dff1027d550783186dcfa027...
Author: Roman Pišl rpisl@seznam.cz Date: Mon Feb 1 18:29:15 2021 +0100
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 361b4c381e7a94e5a2ef25e7dca77440dd983444) Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
programs/conhost/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/conhost/window.c b/programs/conhost/window.c index 55690377a7e..5e94a1d454e 100644 --- a/programs/conhost/window.c +++ b/programs/conhost/window.c @@ -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) );