[21/61] Fix comment typos

Message ID 20190704170311.15982-22-tom@tromey.com
State New
Headers show
Series
  • More TUI refactorings
Related show

Commit Message

Tom Tromey July 4, 2019, 5:02 p.m.
This fixes a couple of comment typos that I noticed.

2019-07-04  Tom Tromey  <tom@tromey.com>

	* tui/tui-data.c (tui_clear_source_windows_detail): Fix typo.
	* tui/tui-win.c (tui_resize_all): Fix typo.
---
 gdb/ChangeLog      | 5 +++++
 gdb/tui/tui-data.c | 2 +-
 gdb/tui/tui-win.c  | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

-- 
2.17.2

Patch

diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c
index eacf174bbe7..70c14ef67ba 100644
--- a/gdb/tui/tui-data.c
+++ b/gdb/tui/tui-data.c
@@ -120,7 +120,7 @@  tui_clear_source_windows ()
 }
 
 
-/* Clear the pertinant detail in the source windows.  */
+/* Clear the pertinent detail in the source windows.  */
 void
 tui_clear_source_windows_detail ()
 {
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index f83281f7902..a7f87e1de13 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -534,7 +534,7 @@  tui_rehighlight_all (void)
 }
 
 /* Resize all the windows based on the terminal size.  This function
-   gets called from within the readline sinwinch handler.  */
+   gets called from within the readline SIGWINCH handler.  */
 void
 tui_resize_all (void)
 {