aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-wingeneral.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c
index 4d168af..73d77ce 100644
--- a/gdb/tui/tui-wingeneral.c
+++ b/gdb/tui/tui-wingeneral.c
@@ -181,9 +181,7 @@ make_visible (struct tui_gen_win_info *win_info, bool visible)
{
if (!win_info->is_visible)
{
- tui_make_window (win_info,
- (win_info->type != CMD_WIN
- && !tui_win_is_auxillary (win_info->type)));
+ tui_make_window (win_info, !tui_win_is_auxillary (win_info->type));
win_info->is_visible = true;
}
}