Roman Pišl : conhost: Fix copy-paste error when setting windows size.

Alexandre Julliard julliard at winehq.org
Mon Feb 1 16:13:09 CST 2021


Module: wine
Branch: master
Commit: 361b4c381e7a94e5a2ef25e7dca77440dd983444
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=361b4c381e7a94e5a2ef25e7dca77440dd983444

Author: Roman Pišl <rpisl at 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 at seznam.cz>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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) );




More information about the wine-cvs mailing list