aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 657fa5e..e2406c7 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1363,7 +1363,9 @@ display_command (char *exp, int from_tty)
int display_it = 1;
#if defined(TUI)
- if (tui_version && *exp == '$')
+ /* NOTE: cagney/2003-02-13 The `tui_active' was previously
+ `tui_version'. */
+ if (tui_active && *exp == '$')
display_it = (tui_set_layout (exp) == TUI_FAILURE);
#endif