]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix typo in TUI comment
authorTom Tromey <tom@tromey.com>
Sat, 20 Jan 2024 22:52:37 +0000 (15:52 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 27 Apr 2024 17:44:32 +0000 (11:44 -0600)
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

index c14ac5a8faf21a12bbffeaa0af547d6b4bd17f21..e4d7a688ee3d15f6cf1d28037657afd23321ce8b 100644 (file)
@@ -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)