aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-01-20 15:52:37 -0700
committerTom Tromey <tom@tromey.com>2024-04-27 11:44:32 -0600
commitb822bc0c123091fb2e747db15eebc30307118a81 (patch)
treef59b1b598043115187b9bf2f20578ef5bccc963f
parent389cddc4b68a82734202f1dfe3f6339e4d8dab11 (diff)
downloadgdb-b822bc0c123091fb2e747db15eebc30307118a81.zip
gdb-b822bc0c123091fb2e747db15eebc30307118a81.tar.gz
gdb-b822bc0c123091fb2e747db15eebc30307118a81.tar.bz2
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.
-rw-r--r--gdb/tui/tui-wingeneral.c2
1 files changed, 1 insertions, 1 deletions
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)