From: Tom Tromey Date: Sat, 20 Jan 2024 22:52:37 +0000 (-0700) Subject: Fix typo in TUI comment X-Git-Tag: gdb-15-branchpoint~224 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b822bc0c123091fb2e747db15eebc30307118a81;p=thirdparty%2Fbinutils-gdb.git 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. --- diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index c14ac5a8faf..e4d7a688ee3 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)