mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
Avoid calls to Glib::ustring << operator at all cost.
Glib::operator<<(std::ostream&, Glib::ustring const&) involves loadlocale which is not thread-safe on OSX. This fixes various seemingly random crashes on OSX.
This commit is contained in:
parent
5eefdf7536
commit
8b80fe04ad
8 changed files with 21 additions and 21 deletions
|
|
@ -1041,7 +1041,7 @@ PortMatrix::update_tab_highlighting ()
|
|||
label->set_text ((*j)->name);
|
||||
} else if (c.length() && c[0] != '<' && has_connection) {
|
||||
/* this label is not marked up with <b> but should be */
|
||||
label->set_markup (string_compose ("<b>%1</b>", Glib::Markup::escape_text ((*j)->name)));
|
||||
label->set_markup (string_compose ("<b>%1</b>", Glib::Markup::escape_text ((*j)->name).c_str()));
|
||||
}
|
||||
|
||||
++p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue