13
0

more markup-escaping

git-svn-id: svn://localhost/ardour2/branches/3.0@13320 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-10-23 14:51:35 +00:00
parent d257c13060
commit 506adcb7a2

View File

@ -63,7 +63,7 @@ MissingFileDialog::MissingFileDialog (Session* s, const std::string& path, DataT
msg.set_justify (JUSTIFY_CENTER);
msg.set_markup (string_compose (_("%1 cannot find the %2 file\n\n<i>%3</i>\n\nin any of these folders:\n\n\
<tt>%4</tt>\n\n"), PROGRAM_NAME, typestr, path, dirstr));
<tt>%4</tt>\n\n"), PROGRAM_NAME, typestr, Glib::Markup::escape_text(path), Glib::Markup::escape_text (dirstr)));
HBox* hbox = manage (new HBox);
hbox->pack_start (msg, false, true);