diff options
Diffstat (limited to 'gdb/tui/tui-layout.c')
-rw-r--r-- | gdb/tui/tui-layout.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index 9ab89a8..bd2e6ae 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -373,10 +373,6 @@ tui_gen_win_info::resize (int height_, int width_, width = width_; height = height_; - if (height > 1) - viewport_height = height - 2; - else - viewport_height = 1; x = origin_x_; y = origin_y_; |