From c68a13591089a6e893531fe438b593053be8a32e Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Fri, 7 Nov 2014 14:52:49 +0200 Subject: [PATCH] [Summary] Fixing the bug when packaged Tracks crashes opening session with Tuvalu letters. --- gtk2_ardour/mixer_strip.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 9b1e04b18a..9cb7a34c01 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1147,7 +1147,7 @@ MixerStrip::update_io_button (boost::shared_ptr route, bool for_i string& connection_name (*i); if (io_connection_count == 0) { - tooltip << endl << Glib::Markup::escape_text(port->name().substr(port->name().find("/") + 1)) << " -> " << Glib::Markup::escape_text(connection_name); + tooltip << endl << std::string (Glib::Markup::escape_text(port->name().substr(port->name().find("/") + 1))) << " -> " << std::string (Glib::Markup::escape_text(connection_name)); } else { tooltip << ", " << std::string (Glib::Markup::escape_text(connection_name)); }