aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-command.c')
-rw-r--r--gdb/tui/tui-command.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/tui/tui-command.c b/gdb/tui/tui-command.c
index b9bc19e..2060a36 100644
--- a/gdb/tui/tui-command.c
+++ b/gdb/tui/tui-command.c
@@ -57,7 +57,5 @@ tui_cmd_window::resize (int height_, int width_, int origin_x, int origin_y)
void
tui_refresh_cmd_win (void)
{
- WINDOW *w = tui_cmd_win ()->handle.get ();
-
- tui_wrefresh (w);
+ tui_cmd_win ()->refresh_window ();
}