diff options
Diffstat (limited to 'gdb/tui/tui-source.c')
-rw-r--r-- | gdb/tui/tui-source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-source.c b/gdb/tui/tui-source.c index d3cce1c3003..f0bac24bfea 100644 --- a/gdb/tui/tui-source.c +++ b/gdb/tui/tui-source.c @@ -227,7 +227,7 @@ tui_show_symtab_source (tui_source_window_base *win_info, bool tui_source_window::showing_source_p (const char *fullname) const { - return (content_in_use + return (!content.empty () && (filename_cmp (tui_locator_win_info_ptr ()->full_name, fullname) == 0)); } |