aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ui-file.c')
-rw-r--r--gdb/ui-file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ui-file.c b/gdb/ui-file.c
index 1760b4c..493ae43 100644
--- a/gdb/ui-file.c
+++ b/gdb/ui-file.c
@@ -648,5 +648,6 @@ tee_file_isatty (struct ui_file *file)
if (tee->magic != &tee_file_magic)
internal_error (__FILE__, __LINE__,
_("tee_file_isatty: bad magic number"));
- return (0);
+
+ return ui_file_isatty (tee->one);
}