projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8def33e
)
[gdb/tui] Fix help text of show tui tab-width
author
Tom de Vries
<tdevries@suse.de>
Sat, 3 Jun 2023 20:43:57 +0000
(22:43 +0200)
committer
Tom de Vries
<tdevries@suse.de>
Sat, 3 Jun 2023 20:43:57 +0000
(22:43 +0200)
I noticed:
...
(gdb) help show tui tab-width
Show the tab witdh, in characters, for the TUI.
This variable controls how many spaces are used to display a tab character.
...
a typo: "witdh".
Fix this by using "width" instead.
Reviewed-By: Tom Tromey <tom@tromey.com>
gdb/tui/tui-win.c
patch
|
blob
|
history
diff --git
a/gdb/tui/tui-win.c
b/gdb/tui/tui-win.c
index 7abd1e225b96cf6a8f426c96503ab7ebe7c1c801..08a21fbbd44f142e9820b3b9a90121a36cee992b 100644
(file)
--- a/
gdb/tui/tui-win.c
+++ b/
gdb/tui/tui-win.c
@@
-1255,7
+1255,7
@@
This variable controls the attributes to use for the active window border:\n\
add_setshow_zuinteger_cmd ("tab-width", no_class,
&internal_tab_width, _("\
Set the tab width, in characters, for the TUI."), _("\
-Show the tab wi
td
h, in characters, for the TUI."), _("\
+Show the tab wi
dt
h, in characters, for the TUI."), _("\
This variable controls how many spaces are used to display a tab character."),
tui_set_tab_width, tui_show_tab_width,
&tui_setlist, &tui_showlist);