Hugh McMaster : conhost: Remove duplicate lines from current_config().

Alexandre Julliard julliard at winehq.org
Mon Aug 2 16:43:35 CDT 2021


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

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Mon Aug  2 22:20:20 2021 +1000

conhost: Remove duplicate lines from current_config().

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
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, 2 deletions(-)

diff --git a/programs/conhost/window.c b/programs/conhost/window.c
index 92970b44f0e..3af80383958 100644
--- a/programs/conhost/window.c
+++ b/programs/conhost/window.c
@@ -1925,8 +1925,6 @@ static void current_config( struct console *console, struct console_config *conf
     config->popup_attr = console->active->popup_attr;
     memcpy( config->color_map, console->active->color_map, sizeof(config->color_map) );
 
-    config->win_height  = console->active->win.bottom - console->active->win.top + 1;
-    config->win_width   = console->active->win.right - console->active->win.left + 1;
     config->cell_width  = console->active->font.width;
     config->cell_height = console->active->font.height;
     config->font_weight = console->active->font.weight;




More information about the wine-cvs mailing list