From b822bc0c123091fb2e747db15eebc30307118a81 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 20 Jan 2024 15:52:37 -0700 Subject: Fix typo in TUI comment tui_win_info::make_visible has a mildly misleading comment -- it says "visible" where "invisible" is meant. This patch fixes it. --- gdb/tui/tui-wingeneral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index c14ac5a..e4d7a68 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.c @@ -176,7 +176,7 @@ tui_win_info::make_window () } /* We can't really make windows visible, or invisible. So we have to - delete the entire window when making it visible, and create it + delete the entire window when making it invisible, and create it again when making it visible. */ void tui_win_info::make_visible (bool visible) -- cgit v1.1