From: Carl Hetherington Date: Wed, 14 Feb 2024 22:03:24 +0000 (+0100) Subject: Fix conversion of _X to underlined X with GTK (via gtk_label_set_text_with_mnemonic... X-Git-Tag: v2.16.76~3 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=742d96e86a262d0238105bc869ec8f350e36ccae;p=dcpomatic.git Fix conversion of _X to underlined X with GTK (via gtk_label_set_text_with_mnemonic, I think). --- diff --git a/src/wx/job_view.cc b/src/wx/job_view.cc index 41a1af012..efe17f4de 100644 --- a/src/wx/job_view.cc +++ b/src/wx/job_view.cc @@ -125,6 +125,9 @@ JobView::progress () /* Watch out for < > in the error string */ boost::algorithm::replace_all (s, "<", "<"); boost::algorithm::replace_all (s, ">", ">"); +#ifdef DCPOMATIC_LINUX + boost::algorithm::replace_all(s, "_", "__"); +#endif whole += s; if (whole != _last_message) { _message->SetLabelMarkup (std_to_wx (whole));