aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-data.c')
-rw-r--r--gdb/tui/tui-data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c
index abd2ec2..fc90df2 100644
--- a/gdb/tui/tui-data.c
+++ b/gdb/tui/tui-data.c
@@ -155,11 +155,11 @@ tui_prev_win (struct tui_win_info *cur_win)
/* See tui-data.h. */
void
-tui_win_info::set_title (const char *new_title)
+tui_win_info::set_title (std::string &&new_title)
{
- if (title != new_title)
+ if (m_title != new_title)
{
- title = new_title;
+ m_title = new_title;
check_and_display_highlight_if_needed ();
}
}